Web Design Forum HTML CSS JavaScript PHP Graphic Design SEO forum
BasicDifference between HTML 5 and HTML 4 - Printable Version

+- Web Design Forum HTML CSS JavaScript PHP Graphic Design SEO forum (http://www.webdesignforum.com.au)
+-- Forum: Web and Graphic Design (/forumdisplay.php?fid=1)
+--- Forum: Web design (/forumdisplay.php?fid=4)
+--- Thread: BasicDifference between HTML 5 and HTML 4 (/showthread.php?tid=1659)

Pages: 1 2


BasicDifference between HTML 5 and HTML 4 - websitebuildersperth - 02-29-2012 06:02 PM

HTML4 became a W3C Recommendation in 1997. While it continues to serve as a rough guide to many of the core features of HTML, it does not provide enough information to build implementations that interoperate with each other and, more importantly, with a critical mass of deployed content. HTML has been in continuous evolution since it was introduced to the Internet in the early 1990's. Some features were introduced in specifications; others were introduced in software releases. The same goes for XHTML1, which defines an XML serialization for HTML4, and DOM Level 2 HTML, which defines JavaScript APIs for both HTML and XHTML.


RE: BasicDifference between HTML 5 and HTML 4 - Flash Design - 03-03-2012 05:41 PM

HTML5 has several goals which differentiate it from HTML4.

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).

There are many other smaller efforts taking place in HTML5, such as better-defined semantic roles for existing elements (<strong> and <em> now actually mean something different, and even <b> and <i> have vague semantics that should work well when parsing legacy documents) and adding new elements with useful semantics - <article>, <section>, <header>, <aside>, and <nav> should replace the majority of <div>s used on a web page, making your pages a bit more semantic, but more importantly, easier to read. No more painful scanning to see just what that random </div> is closing - instead you'll have an obvious </header>, or </article>, making the structure of your document much more intuitive.


RE: BasicDifference between HTML 5 and HTML 4 - therapy - 03-08-2012 06:45 PM

>HTML4 has some longer tag code than HTML5. HTML5 is easy to code tag because no additional information needed to insert it.
->Audio and Video are not supported in HTML4, but in HTML5 has tag for Audio and Video like <audio>source</audio>,<video>source</video>.
->HTML5 supports the database to store data. Like SQL Server


RE: BasicDifference between HTML 5 and HTML 4 - openxcellaus - 03-27-2012 07:02 PM

I think HTML5 has several goals which differentiate it from HTML4. HTML5 is the great version of HTML and XHTML. It comes up with a lots of features like drag and drop, multimedia, video playback, APIs, form control etc.


RE: BasicDifference between HTML 5 and HTML 4 - therapy - 03-29-2012 01:56 AM

The HTML5 draft reflects an effort, started in 2004, to study contemporary HTML implementations and deployed content. The draft:

1. Defines a single language called HTML which can be written in HTML syntax and in XML syntax.
2. Defines detailed processing models to foster interoperable implementations.
3. Improves markup for documents.
4. Introduces markup and APIs for emerging idioms, such as Web applications.


RE: BasicDifference between HTML 5 and HTML 4 - lennonrowen - 08-27-2012 10:25 PM

HTML5 is the latest revision of HTML containing better support for media like video and audio tags.


RE: BasicDifference between HTML 5 and HTML 4 - chriskooper - 08-28-2012 10:58 PM

this is very informative content u have shared here good work


RE: BasicDifference between HTML 5 and HTML 4 - kavinpeters - 08-30-2012 07:47 PM

this is very informative shared u have here it valuabale for me good post


RE: BasicDifference between HTML 5 and HTML 4 - jimicraine - 09-11-2012 10:22 PM

good share here love your stuff


RE: BasicDifference between HTML 5 and HTML 4 - Astrosameer - 05-13-2016 03:02 PM

Impressive information you shared thanks for sharing such stuff.