SitePoint Sponsor

User Tag List

Results 1 to 2 of 2

Thread: html and xhtml

  1. #1
    SitePoint Member
    Join Date
    Dec 2013
    Posts
    4
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    html and xhtml

    what is differences between html and xtml.

  2. #2
    Programming Since 1978 silver trophybronze trophy felgall's Avatar
    Join Date
    Sep 2005
    Location
    Sydney, NSW, Australia
    Posts
    16,799
    Mentioned
    25 Post(s)
    Tagged
    1 Thread(s)
    There's a huge thread about it at http://www.sitepoint.com/forums/show...ght=html+xhtml

    Basically HTML versions 2 through 4 are defined using the SGML standard while XHTML is defined using the XML standard (which itself is defined using the SGML standard).

    HTML uses a MIME type of text/html
    XHTML uses a MIME type of application/xhtml+xml

    Also Internet Explorer 8 and many older browsers cannot process XHTML.

    Many obsolete JavaScript commands only worked with HTML.
    Stephen J Chapman

    javascriptexample.net, Book Reviews, follow me on Twitter
    HTML Help, CSS Help, JavaScript Help, PHP/mySQL Help, blog
    <input name="html5" type="text" required pattern="^$">


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
  •