<link rel="stylesheet" src="styles.css" />
<meta http-equiv="content-type" content="text/html; charset=UTF-8"/>
… And use:
<meta charset="utf-8" />
At this stage your website is already HTML5, but in order to start using the new tags and bring semantics to your code you should enable them in Internet Explorer 6-8.
Enabling HTML5 in Internet Explorer
One of the persistent issues with Internet Explorer is that it cannot style elements it does not recognize. The problem is as early as IE5.5 – although the
<aside /> tag will actually become children of the parent of
Start Using HTML5
If you have added HTML5Shiv to your webpage you are good to start using HTML5 elements and replace the semantically void
<div /> and
<span /> tags with
<aside />, etc.
Below is a list of websites that provide detailed information, cheatsheets, sample code and tutorials on HTML5:
© 2006 - 2018 Martin Ivanov