SitePoint Sponsor

User Tag List

Results 1 to 3 of 3

Thread: Validation Help

  1. #1
    SitePoint Enthusiast
    Join Date
    Mar 2006
    Posts
    36
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Validation Help

    Hi,

    I am working on a new web page which has to be XHTML validated. The problem i am having that th entire page is fine except the following validation error from Dreamweaver:

    Nesting error, "link" should be closed before closing "head"[XHTML 1.0 transitional]


    Here is the top part of my code:

    <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
    <html>
    <head>
    <title>Title</title>
    <meta name="keywords" content="HTML" />
    <meta name="description" content="This is where the description goes" />
    <link href="styles.css" rel="stylesheet">
    </head>
    <body>


    Can anybody please let me know what i am doing wrong here?

    Thanks in advance.

  2. #2
    SitePoint Wizard bronze trophy Tyssen's Avatar
    Join Date
    Oct 2005
    Location
    Brisbane, QLD
    Posts
    4,067
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    You need /> at the end of your link.

  3. #3
    SitePoint Enthusiast
    Join Date
    Mar 2006
    Posts
    36
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Its always the simplest thing

    Thanks!


Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •