Model structured documents with elements, attributes, namespaces, schemas, parsing, and transformations.
Lessons
Write HTML that follows strict XML rules.
XHTML is easiest to learn by reading the example, changing it, and observing the result.
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN"
"http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head><title>XHTML page</title></head>
<body>
<p>All tags must be closed and lowercase.</p>
<br/>
</body>
</html>Practice the XHTML example in a small scratch file, then explain what changed and why.