3. The DOCTYPE
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01//EN"
"http://www.w3.org/TR/html4/strict.dtd">
• Required header
• Leftover from SGML
• Doesn’t really serve any purpose
10. <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01//EN"
"http://www.w3.org/TR/html4/strict.dtd">
<html>
<!-- ... -->
</html>
11. <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01//EN"
"http://www.w3.org/TR/html4/strict.dtd">
<html>
<head>
<title>Google</title>
</head>
<body>
<!-- Only code in <body> will be displayed on screen. -->
</body>
</html>
12.
13. <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01//EN"
"http://www.w3.org/TR/html4/strict.dtd">
<html>
<head>
<title>Google</title>
</head>
<body>
<h1><img src="logo.png" alt="Google"></h1>
<!-- Search form -->
<!-- Navigation -->
<!-- Copyright notice -->
</body>
</html>
25. The Future: HTML 5
1.Focus on modern websites.
2.New DOCTYPE: <!doctype html>
3.Better multimedia: <audio> &
<video>
4.New form input types: dates,
emails, url
5.HTML parsing algorithm for