Join the Meeting Place for Moms!
Talk to other moms, share advice, and have fun!

(minimum 6 characters)

HTML Moms

Posted by on Feb. 12, 2012 at 12:14 PM
  • 1 Replies

Hey, I need help with an assignment that's due next week on the 23rd and I keep getting this error:

Validation Output: 1 Error

  1. Error Line 9, Column 9: end tag for "html" which is not finished
      </html>

    ‚úČ

    Most likely, you nested tags and closed them in the wrong order. For example <p><em>...</p> is not acceptable, as <em> must be closed before <p>. Acceptable nesting is: <p><em>...</em></p>

    Another possibility is that you used an element which requires a child element that you did not include. Hence the parent element is "not finished", not complete. For instance, in HTML the <head> element must contain a <title> child element, lists require appropriate list items (<ul> and <ol> require <li>; <dl> requires <dt> and <dd>), and so on.


 

And my assignment so far looks like this


<?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" xml:lang="en" lang="en">
  <head>
    <title>Page of Lemurs</title>
  </head>
  </html>

Can someone please please please tell me what I am doing wrong??? I tried omitting the closing html tag but it gives me 7 errors as opposed to one when I do that, lol!

Thanks!happy

by on Feb. 12, 2012 at 12:14 PM
Add your quick reply below:
You must be a member to reply to this post.
Replies (1-1):
MamasaurusPrime
by on Feb. 12, 2012 at 12:38 PM

I got it. My document was incomplete without lists and bodies.

Now, my headers won't show! LOL

Add your quick reply below:
You must be a member to reply to this post.
Join the Meeting Place for Moms!
Talk to other moms, share advice, and have fun!

(minimum 6 characters)