I need html validation help?

Rena

New member
I need to validate my html assignment, but I have a list of errors. I typed it out how my teacher suggested, I even tried typing it out exactly as the textbook read. Both ways give me errors, and I don't know how to fix it. Here is what I have:

<?xml version="1.0" encoding=UTF-8"?>
<!DOCTYPEhtmlPublic"-W3C//DTD XHTML 1.0Transitional//EN
"http://www.w3.org/TR/xhtml1-transitional.dtd">
<!--
Rena Perry
9-4-10
Assignment 2B-Your First Web Page
-->
<html.xmlns="http://www.w3.org/1999/shtml">
<head>
<title>My First Web Page</title>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8"/>
</head>
<body>
Hello World
</body>
</html>
Thanks. That cleared up most of the errors. There is still one:

Validation Output: 1 Error
Line 2, Column 3: unknown declaration type "DOCTYPEhtmlPublic"
<!DOCTYPEhtmlPublic"-W3C//DTD XHTML 1.0Transitional//EN?
 
Back
Top