SitePoint Sponsor

User Tag List

Results 1 to 3 of 3
  1. #1
    SitePoint Member
    Join Date
    Mar 2014
    0 Post(s)
    0 Thread(s)

    Difference between HTML5 & HTML4.01

    I don't know the difference between HTML5 & HTML4.01. Can anyone help by telling the differences between HTML5 & HTML4.01?

  2. #2
    Programming Since 1978 silver trophybronze trophy felgall's Avatar
    Join Date
    Sep 2005
    Sydney, NSW, Australia
    25 Post(s)
    1 Thread(s)
    Quote Originally Posted by golap_ali View Post
    I don't know the difference between HTML5 & HTML4.01. Can anyone help by telling the differences between HTML5 & HTML4.01?
    HTML 4 became the HTML standard in 1997. At the time it was believed that people writing HTML would write to the current standard and would understand that deprecated tags would be removed in the next version.

    HTML 5 will become the standard in 2015 or 2016 (probably) and has reintroduced many long obsolete tags previously flagged for complete removal but which people insist on continuing to use instead of the correct replacement tags. It has also introduced a small number of additional tags that are useful for things few people wanted web pages to do 20 years ago when the HTML 4 standard was being developed.

    About 95%+ of the web still uses mostly HTML 3.2 with an occasional HTML 4 or 5 tag thrown in. The HTML 4 transitional doctype indicates that the page is still using HTML 3.2 tags and has yet to finish transitioning to strict HTML 4. HTML 5 currently uses a short form of the doctype that is valid for any version of HTML from HTML 2 onward.

    All versions of HTML standards are mainly for those creating browsers. The tags those writing web pages should be using has always been a subset of the tags the standards allow because the standard has to allow for pages written a long time ago. No browser has actually implemented the SGML standards for HTML 2+ and all interpret the tags independently of which standard you identify that your page is using via the doctype (which is why HTML 5 can use an HTML 2 doctype and still work).
    Stephen J Chapman, Book Reviews, follow me on Twitter
    HTML Help, CSS Help, JavaScript Help, PHP/mySQL Help, blog
    <input name="html5" type="text" required pattern="^$">

  3. #3
    It's all Geek to me silver trophybronze trophy
    ralph.m's Avatar
    Join Date
    Mar 2009
    Melbourne, AU
    460 Post(s)
    8 Thread(s)
    You can bet there's a lot of info on this already, such as these:

Tags for this Thread


Posting Permissions

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