shafiqul1976 — 2013-01-26T08:32:09-05:00 — #1
Any body help me. What is the difference between HTML 4 and HTML 5 ?
technobear — 2013-01-26T11:44:30-05:00 — #2
HTML4 is an established standard, whereas HTML5 is still a work in progress.
If you want an in-depth analysis of the differences, there is an article here: http://www.w3.org/TR/html5-diff/ and a discussion of that article in this thread: http://www.sitepoint.com/forums/showthread.php?610459-HTML-5-Differences-from-HTML-4&highlight=difference+HTML4+HTML5
Does that help?
felgall — 2013-01-26T16:51:23-05:00 — #3
HTML 4 became a standard in 1997
HTML 5 might become a standard in 2017 (although it might take longer)
It took about eight years after HTML 4 came out before everyone was using browsers that supported it.
Almost everything in HTML 4 is also in HTML 5 so you need to know HTML 4 in order to use HTML 5.
Some of the things proposed for HTML 5 are only needed to fix IE6 problems and so presumably now that browser is dead those things can be dropped from the proposal (eg. embed). There are also some proposals for HTML 5 that provide more than one way of doing the same thing and so presumably only one will make the final standard eg. the input 'required' attribute provides a subset of what can be specified with the 'pattern' attribute..
Basically HTML 5 is currently available for testing so that people can provide feedback on what works and what doesn't so a decision can be made on which of the new proposals will survive into the standard.
force — 2013-02-02T15:25:13-05:00 — #4
HTML5 includes various tags that are intended to be used as semantic/structural elements (such as "header", "nav", and "footer", instead of using divs with IDs and classes).
HTML5 also introduces native multimedia features, a scripting canvas that can be used without plugins like adobe flash, and geolocation support.
Many modern browsers support these new features, but older browsers do not, so you will have issues with backwards compatibility.
himans — 2013-02-14T07:01:57-05:00 — #5
Yes HTML 4 is Previous version and have Full support with browser While HTML 5 still Supported by top browsers .
A New Version is launched in order to be Advanced with old . HTML 5 is latest version or say New Standard of HTML and Comes with New Elements , New Attributes , Full CSS3 Support , Video and Audio , web application etc
In HTML 5 featured to play audio and video files with <video> and <audio> elements for media playback .
felgall — 2013-02-14T13:37:16-05:00 — #6
No it is the current version.
No it is the proposed new version that is still some way from being finalised.
himans — 2013-02-18T08:40:49-05:00 — #7
Thanks , I got that .
madelinekim — 2013-03-04T01:43:03-05:00 — #8
DOCTYPE is much more time as HTML4 is depending on SGML-based and DOCTYPE is needed in HTML 5 to allow requirements method for HTML records. After that video and audio are not aspect of HTML4 requirements and at the other side, these two are essential aspect of HTML5 requirements e.g. <audio> and <video> labels. So, these two difference are very essential between HTML 4 and 5.
felgall — 2013-03-04T03:08:25-05:00 — #9
HT<L 5 uses the short version of the HTML 2 doctype that doesn't have the information that identifies which version of HTML it is. So you can't tell by looking just at the doctype whether you are looking at HTML 2, HTML 3.2, HTML 4.01 or the proposed HTML 5. Even with the version information people don't understand what version of HTML is being used - for example there are HTML 4 transitional and frameset doctypes to indicate that the page uses both HTML 3.2 and HTML 4. Only when a full HTML 4 strict doctype is specified can you be sure that the page is only using HTML 4 and then only if it validates with that doctype. To be able to do the same with HTML 5 once it becomes a standard there will need to be a long HTML 5 strict doctype added.
biztech — 2013-03-25T00:31:41-04:00 — #10
As cool as it is to see what HTML5 can do for you, it hasn’t been unvarying like HTML4. You don’t have to concern about updating pages built using HTML4. It’s further than ten years old and it’s a set standard.
gamish — 2013-05-03T13:40:41-04:00 — #11
HTML5 has many new and interesting features. like:
You can play a audio/video
You can draw/animate everything on canvas
You can store large data in browser (cookie alternative)
Two pages can talk to each other with messages
and much more
pauldmitchell13 — 2013-05-04T06:27:02-04:00 — #12
Hi Shafiqul, HTML5 owns a lot of new features. It will change a user browsing experience. People will enjoy a new era of browsing.
HTML5’s New Features:
1) <canvas> element to draw 2D.
2) <video> and <audio> element for media playback.
3) New certain subject element like <article>, <footer>, <header>, <nav>, <section>
4) New form control like calendar, date, email, URL, inquiry etc.