Hi, to every one.

Hi, to every one.

This is steve.

newly joined to this forum.

I want to know the differences between HTML 4 and HTML 5.

Thank You & Regards
Steve
Cheapviagramedics
16 posts / 0 new
Last post
For more complete information about compiler optimizations, see our Optimization Notice.

Why my post gets stuck to spam filter? I only tried to give two urls, with definition.

Hello Steve,

That's a pretty broad question. There are lots of articles out there discussing the subject, if you search on "what are the differences between html4 and html5" you'll find some useful articles.

In essence, I would say that the key difference between HTML4 and HTML5 is the desire to separate the styling of the page from the content of the page (using HTML tags to define the content and CSS to define the style) and adding a rich JavaScript APIs to the mix. This allows the client (the browser) to do control much more of the processing that previously was done by the server. In this case, the "client" becomes more then just a page viewer, displaying whatever the server sends, the actual web pages contain the "smarts" to control the process of rendering the page, and includes logic that might modify how a page interacts with a user, without having to waste lots of roundtrips to a server.

The above is a very simple-minded attempt at trying to explain the differences, I hope it helps you get started on understanding. I encourage you to read some of the articles out there that talk about the many new features offfered in HTML5. Another way to think of HTML5 is that it provides a platform on which you can actually view a web page as an application, not just a way to markup a page with simple static elements.

Paul

Major differences between HTML5 vs HTML4 is the addition of semantic tags: article, aside, header, footer, video, etc.. The change mostly impacts search engines, crawlers, etc. because now they can differentiate and recognize parts of code which previously looked the same.

In HTML5 you can create a footer tag.
In HTML4 you would create a div and assign it with class "footer".

it is siple HTML4 is the old and HTML5 is the latest and update version .

Hi steve,

Your question is a brilliant one and something worth reflecting upon. Being a web developer , i found HTML5 to be much simpler to use and at the same time clutter free. There are some changes made in HTML4 to give HTML5, a few features have been removed and a few features have been added. I believe that its advancing the Tableless design that started with HTML3 and CSS2. 

Compared to HTML4, the syntax is simplified, say for example to put up a video onto a page, one had to put it up on Youtube or any video streaming site and then Embed the code into the HTML file of the particular webpage, this is improved and now supports direct video streaming using the <video> tag,

<video width="320" height="240" controls>
 <source src="movie.mp4" type="video/mp4">
 Your browser does not support the video tag.
</video>

HTML5 is thought of as a flash killer because of the new canvas element. There are other new features like

<article>
<audio> (audio)
<abbr> (abbreviation)
<address> (contact information)
<bdo> (text direction)
<blockquote> (a section quoted from another source)
<cite> (title of a work)
<del> (deleted text)
<ins> (inserted text)
<sub> (subscripted text)
<sup> (superscripted text)

to make life simple, as Paulius has brought into light, the header and footer are recognized and therefore directly go to the particular portions of the webpage unlike in HTML4 where you had to specify a seperate class for it and also just to end it here, HTML5 is the next generation web development.

Hope that helps :)

Sudheesh

It's not at all important to get it right the first time. It's vitally important to get it right the last time.

Quote:

Paul Fischer (Intel) wrote:

Hello Steve,

That's a pretty broad question. There are lots of articles out there discussing the subject, if you search on "what are the differences between html4 and html5" you'll find some useful articles.

In essence, I would say that the key difference between HTML4 and HTML5 is the desire to separate the styling of the page from the content of the page (using HTML tags to define the content and CSS to define the style) and adding a rich JavaScript APIs to the mix. This allows the client (the browser) to do control much more of the processing that previously was done by the server. In this case, the "client" becomes more then just a page viewer, displaying whatever the server sends, the actual web pages contain the "smarts" to control the process of rendering the page, and includes logic that might modify how a page interacts with a user, without having to waste lots of roundtrips to a server.

The above is a very simple-minded attempt at trying to explain the differences, I hope it helps you get started on understanding. I encourage you to read some of the articles out there that talk about the many new features offfered in HTML5. Another way to think of HTML5 is that it provides a platform on which you can actually view a web page as an application, not just a way to markup a page with simple static elements.

Paul

I also agree with paul fishcer, there are lots of articles out there discussing the subject, but according to me HTML and HTML5 have many diferent and improvement.

HTML5 is introduced with several new APIs. Application Programming Interfaces or APIs aim to provide a better and improved web application development system. for example in HTML4 you are impossible to get true GeoLocation of user browsing any website especially if it comes to mobile devices, but in HTML5 there are APIs named JS Geolocation API to identify location of user browsing any website.

HTML5  already replaced the TT and U tags like applet, dir, font, strike and center with CSS. and the another improvement from HTML5 is about browser cache, we know in HTML version the browser cache can be used as temporary storage, but in HTML5 the Web SQL Database and Web storage is available as client side storage by using javascript. last from me HTML work for old browser :D and HTML5 most supported by modern browser ^_^

Thats all from. correct me if iam wrong ^_^

Chhers

Smart and Young..

are you asking from a user's point of view or developer's point of view? from user's, maybe more interactive browsing experience; from developer's, to me, there are new tags more animation and multimedia support...

www.softwaretailor.com

html iss developing trowards killing flash cause almost all things in flash are already possible in html5 and there will be even more things in future updates to develop html to Web 3.0

HTML5 is the advanced version of HTML4 , it incorporates new features and omits some outdated commands in HTML4.0

HTML5 comes with more interactive and media codes

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.

you are welcome, welcome with HTML5 the future

Ahmedelshfie

HTML5 is great!

JudLup Luna

W3 Schools (http://www.w3schools.com/html/html5_intro.asp) also states the differences between HTML 4 and 5. I agree that HTML5 focuses more on styles using CSS and also added more multimedia features such as animation, music, and movies to websites. Hope this helps!

If you want to keep up to date on the differences, keep checking W3C.

Ideas For Future

Leave a Comment

Please sign in to add a comment. Not a member? Join today