Thursday, January 24, 2013

What is HTML5 DocType?

A DOCTYPE is a required preparatory statement and must consist of the following characters, in this order:
  • A string that is an ASCII case-insensitive match for the string "
  • One or more space characters.
  • A string that is an ASCII case-insensitive match for the string "html".
  • Optionally, a DOCTYPE legacy string or an obsolete permitted DOCTYPE string (defined below).
  • Zero or more space characters.
  • A U+003E GREATER-THAN SIGN character (>).
Link : Click here


Code:
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="utf-8" />
<title>HTML5 Doctor | Element Index</title>
<link rel="stylesheet" href="style.css" />

</head>
<body id="home">
<p>content</p>
</body>
</html>

0 comments:

Post a Comment