Validation errors please help

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • marky9378
    Confirmed User
    • Jun 2006
    • 205

    #1

    Validation errors please help

    Hi

    Can someone please help me with these validation errors and give me the correct coding.
    ------------------------------------------------------------
    The tag: "td" doesn't have an attribute: "background" in currently active versions.[XHTML 1.0 transitional]

    <td height="84" background="images/footer.jpg"><table width="773" border="0" align="center" cellpadding="0" cellspacing="0" class="boarder2">
    ------------------------------------------------------------
    Nesting error, "meta" should be closed before closing "head"[XHTML 1.0 transitional]

    </head>
    ------------------------------------------------------------
    The tag:"link" is not allowed within: "meta" It is only allowed within: head.[XHTML 1.0 transitional]

    <link rel="StyleSheet" href="styles.css" type="text/css" />
    ------------------------------------------------------------
    The tag:"style" is not allowed within: "meta" It is only allowed within: head.[XHTML 1.0 transitional]

    <style type="text/css" />
    ------------------------------------------------------------
    The tag:"meta" is not allowed within: "meta" It is only allowed within: head.[XHTML 1.0 transitional]

    <meta http-equiv="content-language" content="en" />
    ------------------------------------------------------------

    Please Please help with these errors
    Professional Website Design
  • fusionx
    Confirmed User
    • Nov 2003
    • 4618

    #2
    Looks like you left a META tag unclosed

    Comment

    • sysk
      Confirmed User
      • Aug 2007
      • 1005

      #3
      Rewrite everything table-less.
      icq: 612510168 / email: [email protected] / php ninja 4 hire

      Comment

      • schneemann
        Confirmed User
        • Oct 2006
        • 749

        #4
        Originally posted by marky9378
        Hi

        Can someone please help me with these validation errors and give me the correct coding.
        ------------------------------------------------------------
        The tag: "td" doesn't have an attribute: "background" in currently active versions.[XHTML 1.0 transitional]

        <td height="84" background="images/footer.jpg"><table width="773" border="0" align="center" cellpadding="0" cellspacing="0" class="boarder2">
        Pretty self explanatory. This attribute doesn't exist. If you can't do this without tables, then change your DTD to HTML 4.01 transitional. There's no reason to use XHTML anyway

        Originally posted by marky9378
        ------------------------------------------------------------
        Nesting error, "meta" should be closed before closing "head"[XHTML 1.0 transitional]

        </head>
        sounds self explanatory
        Originally posted by marky9378

        ------------------------------------------------------------
        The tag:"link" is not allowed within: "meta" It is only allowed within: head.[XHTML 1.0 transitional]

        <link rel="StyleSheet" href="styles.css" type="text/css" />
        ------------------------------------------------------------
        The tag:"style" is not allowed within: "meta" It is only allowed within: head.[XHTML 1.0 transitional]

        <style type="text/css" />
        As someone else said, it looks like you forgot to close a meta element
        Deranged World

        Comment

        Working...