HTML 5 vs HTML 4

Discussion in 'Website Development & Design' started by Mallory, Jul 20, 2011.

  1. Mallory

    Mallory
    uix_expand uix_collapse
    New Member

    Joined:
    Jul 20, 2011
    Messages:
    1
    Likes Received:
    0
    The primary one is consistent, defined error handling. As you know, HTML purposely supports 'tag soup', or the ability to write malformed code and have it corrected into a valid document. The problem is that the rules for doing this aren't written down anywhere. When a new browser vendor wants to enter the market, they just have to test malformed documents in various browsers (especially IE) and reverse-engineer their error handling. If they don't, then many pages won't display correctly (estimates place roughly 90% of pages on the net as being at least somewhat malformed).

    So, HTML5 is attempting to discover and codify this error handling, so that browser developers can all standardize and greatly reduce the time and money required to display things consistently. As well, long in the future after HTML has died as a document format, historians may still want to read our documents, and having a completely defined parsing algorithm will greatly aid this.

    The secondary goal of HTML5 is to develop the ability of the browser to be an application platform, via HTML, CSS, and Javascript. Many elements have been added directly to the language that are currently (in HTML4) Flash or JS-based hacks, such as <canvas>, <video>, and <audio>. Useful things such as Local Storage (a js-accessible browser-builtin sql database, for storing information beyond what cookies can hold), new input types such as date for which the browser can expose easy user interface (so that we don't have to use our js-based calendar date-pickers), and browser-supported form validation will make developing web applications much simpler for the developers, and make them much faster for the users (since many things will be supported natively, rather than hacked in via javascript)
     
  2. alexa007

    alexa007
    uix_expand uix_collapse
    New Member

    Joined:
    Aug 11, 2011
    Messages:
    16
    Likes Received:
    0
    Html 5 includes some new element like header, nav, section, article, aside and footer these are not present in the Html 4. Html 5 also denotes the scripting of API including new API like Drag and Drop, Database storage offline etc. these also not present in the Html 4.
     
  3. Terry Harvey

    Terry Harvey
    uix_expand uix_collapse
    Member

    Joined:
    Aug 9, 2011
    Messages:
    154
    Likes Received:
    11
    HTML 5 is definitely the way to go. Although I'm still using HTML 4, I plan on learning HTML 5 at some point. It has so many great features.
     

Share This Page