HTML... WC3 Markup validation help.

Discussion in 'Software' started by rob1101, Dec 26, 2006.

  1. rob1101

    rob1101 Private E-2

    ok so this mark up validation has been giving me a hard time i get html but i dont get the

    Code:
    <!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" lang="en">
    bit im suposed to use at the top. i understand that this is supposed to be some like universal format thing so you web page will look the same in all browsers.

    every time i try to validate (http://validator.w3.org/) it i get some no char encoding found... i though that was what the

    Code:
    lang="en"
    was for.

    well i just need someone to help me out. and better explain what the whole first chunk of the code i posted really does.

    oh and by the way this is the rest of my page ( i just keept it simple untill i can get this error fixed.)

    Code:
    <!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" lang="en">
     <head>
      <title>Hello World!</title>
     </head>
     
     <body>
      <p>Hello World!</p>
     </body>
    
     </html>
     

MajorGeeks.Com Menu

Downloads All In One Tweaks \ Android \ Anti-Malware \ Anti-Virus \ Appearance \ Backup \ Browsers \ CD\DVD\Blu-Ray \ Covert Ops \ Drive Utilities \ Drivers \ Graphics \ Internet Tools \ Multimedia \ Networking \ Office Tools \ PC Games \ System Tools \ Mac/Apple/Ipad Downloads

Other News: Top Downloads \ News (Tech) \ Off Base (Other Websites News) \ Way Off Base (Offbeat Stories and Pics)

Social: Facebook \ YouTube \ Twitter \ Tumblr \ Pintrest \ RSS Feeds