This simple XHTML will not validate. What is the problem?

Posted by Justice Conder on Stack Overflow See other posts from Stack Overflow or by Justice Conder
Published on 2010-06-10T15:38:59Z Indexed on 2010/06/10 15:42 UTC
Read the original article Hit count: 209

Filed under:
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN"
"http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">

<?xml version="1.0" encoding="UTF-8"?>

<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">

<head>

<title>My Title</title>

<link rel="stylesheet" type="text/css" href="myStyle.css"/>

</head>
<body>

<div>

<h1>Heading One</h1>
<p class="para1">Paragraph One</p>

<h3>Heading Two</h3>
<p>Paragraph Two</p>

<h3>Heading Three</h3>
<p>Paragraph Three<p>

<br />
<a href="Lab1Page2.html">Link One</a>
<br />
<a href="Lab1Page3.html">Link Two</a>

</div>

</body>
</html>

© Stack Overflow or respective owner

Related posts about XHTML