XML Syntax | SGML/HTML Syntax |
| Markup - XML syntax Validate with Nu Html Checker | Markup - SGML/HTML syntax Validate with Nu Html Checker |
Of course, you can use the SGML/HTML syntax and write HTML that looks better. Just because the syntax allows you shorten things and leave out things, doesn't mean you have to.
Like this:
<!DOCTYPE html>
<html lang="en">
<head>
<title>My Document</title>
</head>
<body>
<h1>My Document</h1>
<ul>
<li>coffee
<li>tea
</ul>
<img src="images/lake.jpg" alt="Lake" >
</body>
</html>Markup - SGML/HTML syntax
Validate with Nu Html Checker
Copyright © David Heitmeyer