<!DOCTYPE html>But because of its brevity, it leaves a lot of information wanting. For a spider such as myself, I would expand the document markup to this:
<html>
<head>
<meta charset="UTF-8">
<title>Title of the document</title>
</head>
<body>
The content of the document......
</body>
</html>
<!DOCTYPE html>
<html lang='en'>
<head>
<meta http-equiv="content-type" content="text/html; charset=UTF-8">
<title>Title of the document</title>
</head>
<body>
<p>The content of the document...... </p>
</body>
</html>
Notice that only one new tag was added and two more were only expanded. But this change tells us some very important things:
1) the site is in English and
2) the site has a MIME type of text/htm
3) semantic structure is vastly improved.
With HTML touting its semantic improvements such as <article> and <header> tags why would anyone throw away the <p> tag?
Anyway, this would be my HTML 5 minimal document.
No comments:
Post a Comment