It is the newest version of HTML language which is used to develop web pages for the internet. There have been several versions of HTML and is overseen by an organization called the W3C (World Wide Web Consortium). The last major version of HTML was HTML 4.01 in December 1999. In January 2000, some stricter rules were added to HTML 4.01, called as XHTML (Extensible Hypertext Markup Language). HTML 5 is the latest revision of the HTML standard and currently remains under development.
HTML5 has been developed to add more features to existing HTML which includes adding functionality of popular plugins, add support in HTML for audio and video, support cross-platform and device neutral and web applications should also run when offline.
There have been several enhancements in HTML5, which are summarized as
HTML 5 New Doctype and Charset
HTML5 new tags – HTML5 has created tags to support newer structural elements as
- <section> – to define sections of pages
- <header> – defines the header of a page
- <footer> – defines the footer of a page
- <nav> – defines the navigation on a page
- <article> – defines the article or primary content on a page
- <aside> – defines extra content like a sidebar on a page
- <figure> – defines images that annotate an article
HTML 5 New Inline Elements – These new inline elements define some basic concepts and keep them semantically marked up as
- <mark> – to indicate content that is marked in some fashion
- <time> – to indicate content that is a time or date
- <meter> – to indicate content that is a fraction of a known range – such as disk usage
- <progress> – to indicate the progress of a task towards completion
HTML 5 New Dynamic Pages Support – HTML 5 was developed to help Web application developers, so there are a lot of new features to make it easy to create dynamic HTML pages as
- Context menus creation and use within web pages and applications
- async attribute – This is added to the script tag to tell the browser that the script should be loaded asynchronously so that it doesn’t slow down the load and display of the rest of the page.
- <details> – provides details about an element like tooltips.
- <menu> – an old tag brought back and given new life allowing to create a menu system on your Web pages
- <command> – defines actions that should happen when a dynamic element is activated
HTML 5 New Form Types – HTML 5 adds a few more form input types as datetime, datetime-local, date, month, week, time, number, range, email and url
HTML 5 New Elements – There are a few exciting new elements in HTML 5 as
- <video> – add video to Web pages with as a tag.
- <audio> – add sound to Web pages with as a tag.