Difference between HTML 4.01 & HTML 5

Discussion in 'HTML & Website Design' started by moshiurmax, Jul 3, 2012.

  1. #1
    Can anyone please tell me what is the difference between HTML 4.01 and HTML 5. I have learned HTML 4.01 , will it be helpful to learn HTML 5 ........:confused:
     
    Solved! View solution.
    moshiurmax, Jul 3, 2012 IP
  2. aqualabs

    aqualabs Peon

    Messages:
    24
    Likes Received:
    0
    Best Answers:
    0
    Trophy Points:
    0
    #2
    Actually there are too many differences between these versions to describe in a short.
    Sure, it will be helpful to learn HTML 5. You could take a look at Mark Pilgrim's 'Dive into HTML5'. Hope it will help.
     
    aqualabs, Jul 4, 2012 IP
  3. juliamedlton

    juliamedlton Peon

    Messages:
    16
    Likes Received:
    0
    Best Answers:
    0
    Trophy Points:
    0
    #3
    No to much difference between twos. HTML not supports video. While HTML 5 Supports video too.
     
    juliamedlton, Jul 4, 2012 IP
  4. aman179

    aman179 Greenhorn

    Messages:
    5
    Likes Received:
    0
    Best Answers:
    0
    Trophy Points:
    11
    #4
    HTML 4.01 & html5 has lots of differences. Many new features are added in html5 like video,audio,header,footer etc. You can visit
     www.w3schools.com 
    Code (markup):
    for more info
     
    aman179, Jul 4, 2012 IP
  5. mamtak

    mamtak Member

    Messages:
    229
    Likes Received:
    1
    Best Answers:
    0
    Trophy Points:
    28
    #5
    1. HTML5 have better define role like <strong> and <em> now act as <b> and <i>.
    2. you can use HTML, CSS, and Javascript.
    3. HTML5 is attempting to discover and codify this error handling.
     
    mamtak, Jul 4, 2012 IP
  6. DigitalForum_king

    DigitalForum_king Greenhorn

    Messages:
    47
    Likes Received:
    0
    Best Answers:
    0
    Trophy Points:
    16
    #6
    HTML 5 has lots of advantage, for example:
    1. <audio>...</audio> has been introduced to enable audio in the post.
    2. <video>...</video> for video support
    3. Div like <header>..</header>, <aside>...</aside> and <nav id>...</nav> has been introduced
     
    DigitalForum_king, Jul 4, 2012 IP
  7. sanchyclub

    sanchyclub Well-Known Member

    Messages:
    625
    Likes Received:
    6
    Best Answers:
    2
    Trophy Points:
    105
    #7
    sanchyclub, Jul 6, 2012 IP
  8. #8
    Wow, I feel dumber having read some of these responses.

    All HTML 5 does is add a handful of POINTLESS tags, some even more pointless attributes, and if the re-re's at WHATWG have their way, remove anything remotely resembling versioning.

    Literally, the new structural tags are nothing more than pointless bloat; SECTION is redundant to numbered heading tags and horizontal rules, ARTICLE serves no real purpose apart from satiating dipshit data-scrapers needs, NAV is redundant to numbered heading navigation, HEADER serves no real purpose if you bother using numbered headings PROPERLY, HGROUP it is painfully obvious was made by people who never grasped the concept of how numbered headings work... FOOTER too is pretty pointless being redundant to the everything after the last HR in a section. Did we mention that the meaning of DIV is DIVision, which is to DIVide a page into... sections?

    A LOT of those seem to exist to pat the idiots who slap DIV around elements for no good reason... like HEADER around a H1 and UL then NAV around UL... Most compare those to DIV with ID on them when I compare them to markup without those extra DIV, since 99% of the time those extra DIV serve no purpose and seem to be there to apply styling that could just as easily be applied to the tags INSIDE the DIV... Worse, they apply extra meaning to elements that should ALREADY BE CONVEYING MEANING... Sooner or later you have to let the content stand on it's own -- we go down that path and in ten years we'll be wrapping every blasted word in a tag 'for clarity'. #DDD (Carlos Mencia Grey)

    AUDIO and VIDEO are redundant to OBJECT and there is NO legitimate excuse for why the new scripting and in-built codecs could not have been applied there -- the only REAL excuse being the browser makers telling us what codec's to use instead of the other way around. That's called vendor lock-in! Literally it seems to exist just so that each browser maker can pimp their favorite pet video format; they sure as shine-ola can't agree on one... NOT that they should. The beauty of OBJECT was that it allows the developer, users and general market to determine what to use -- ALL these new tags have done is further fracture the infrastructure and make developers life HARDER, not easier.

    You look back at the development of HTML 4 STRICT, and you find that the majority of tags and attributes removed were NOT presentational, they were REDUNDANT -- MENU and DIR were redundant to UL... in the case of object, IMG, APPLET, BGSOUND and EMBED were all redundant -- so two of those were not adopted into 4 and one of them was officially dropped. Yes, IMG was supposed to be on the choppping block for the next HTML, but they backpedaled on that thanks to Microsoft being complete pricks about actually implementing OBJECT properly...

    The entire point of OBJECT was being able to add new formats to every browser WITHOUT having to have them hard-coded into it; combine this with all the pointless idiotic new tags for nothing, and HTML 5 seems carefully crafted to undo all the progress of strict. It is meant for the idiots who are STILL vomiting up HTML 3.2 and were slapping 4 tranny on it. Now they can slap the 5 Lip-service on there and still crap out their 1990's style code. Net improvement zero.

    HTML 5 most certainly is NOT meant for anyone who actually embraced STRICT, bothered to practice separation of presentation from content, or gives a damn about clean minimalist easy to maintain code or accessibility. Seems more to exist for sleazeball scam artists to sell nubes on a new sick buzzword akin to Web 2.0, even sleazier scumballs to sell books and seats at lectures, and to satiate the desires of the people who just want "ooh shiny and new". When the majority of developers can't even be bothered to use the tags and attributes we already have properly (if at all -- see THEAD, TBODY, TH, CAPTION, LABEL, FOR, LEGEND, SCOPE, H1..H6, etc, etc..) throwing more code at it is NOT the answer!

    I still cannot fathom how anyone who actually understands HTML is DUMB ENOUGH to see merit in HTML 5. I guess you have to go to college so they can teach you to be that stupid.
     
    Last edited: Jul 6, 2012
    deathshadow, Jul 6, 2012 IP
    TheVisitors likes this.
  9. mds

    mds Active Member

    Messages:
    256
    Likes Received:
    7
    Best Answers:
    0
    Trophy Points:
    58
    #9
    All true words 'deathshadow'
     
    mds, Jul 8, 2012 IP
  10. leonvictor2012

    leonvictor2012 Greenhorn

    Messages:
    18
    Likes Received:
    0
    Best Answers:
    0
    Trophy Points:
    11
    #10
    HTML 5 is more advanced version of HTML 4.01, HTML5 has some modern features which describe below, and all this features are not available in HTML4.01
    • New parsing rules oriented towards flexible parsing and compatibility
    • New input attributes – dates and times, email, url
    • New attributes – ping, charset, async
    • Deprecated elements dropped – center, font, strike
    • New elements – section, video, progress, nav, meter, time, aside, canvas
     
    leonvictor2012, Jul 10, 2012 IP
  11. lolpasslol

    lolpasslol Peon

    Messages:
    860
    Likes Received:
    5
    Best Answers:
    0
    Trophy Points:
    0
    #11
    Basically HTML 5 is advance version of HTML 4.0,some times HTML 5 is compared with FLASH and SILVERLIGHT for it's advance level.
    It has audio ,video ,animation functionalists, that make it a competitor FLASH .
     
    lolpasslol, Jul 14, 2012 IP
  12. xboom

    xboom Peon

    Messages:
    37
    Likes Received:
    0
    Best Answers:
    0
    Trophy Points:
    0
    #12
    new features in html 5
     
    xboom, Jul 15, 2012 IP
  13. Davidsaga

    Davidsaga Peon

    Messages:
    17
    Likes Received:
    0
    Best Answers:
    0
    Trophy Points:
    0
    #13
    HTML4.01 without a doubt before you move onto XHTML. HTML5 is unfinished and still mainly non normative anyway. You need to be able to understand HTML 4.01 really before you can look at XHTML.

    Thanks in advance,
    David
     
    Davidsaga, Jul 18, 2012 IP
  14. Andreas_T

    Andreas_T Peon

    Messages:
    13
    Likes Received:
    0
    Best Answers:
    0
    Trophy Points:
    0
    #14
    It is most certainly helpful to learn HTML5 as this is the wave of the future. That being stated, most browsers are not completely ready for the wave as they do not include all the new element tags i.e. 20 new ones. The real pull is to get away from flash because the ipad and smart phones don't use it. At this juncture in time, we will have to see how soon all these new html5 additions will be incorporated into browsers. Don't wait too long to learn it though.
     
    Andreas_T, Jul 19, 2012 IP