Member Offer
  1. This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn More.

HTML and XHTML?

Discussion in 'Website Design Forum:' started by Ridwan Sugi, Jan 15, 2011.

  1. Ridwan Sugi

    Ridwan Sugi Junior Member

    hi guys..
    Im new in the web design stuff,
    I want to ask some question, what the difference betwen HTML and XHTML?
    It is the same?

    Thank You,
     
  2. Harry

    Harry Senior Member

    Essentially yes, but XHTML introduces a stricter syntax. As a loose example:

    HTML:
    HTML:
    <img src="hello.jpg" alt="">
    
    XHTML:
    HTML:
    <img src="hello.jpg" alt="" />
    
     

Share This Page