The internet has changed a lot since HTML 4.01 became a standard in 1999.
Today, some elements in HTML 4.01 are obsolete, never used, or not used the way they were intended to. These elements are removed or re-written in HTML5.
To better handle today’s internet use, HTML5 includes new elements for better structure, better form handling, drawing, and for media content.
New Semantic/Structural Elements
HTML5 offers new elements for better structure:
New Media Elements
HTML5 offers new elements for media content:
The new <canvas> Element
Tag | Description |
<canvas> | Used to draw graphics, on the fly, via scripting (usually JavaScript) |
New Form Elements
HTML5 offers new form elements, for more functionality:
Tag | Description |
<datalist> | Specifies a list of pre-defined options for input controls |
<keygen> | Defines a key-pair generator field (for forms) |
<output> | Defines the result of a calculation |