May 8, 2014 at 4:28 pm #223
The internet, and the use of the internet, has changed a lot since 1999, when HTML 4.01 became a standard.
Today, several elements in HTML 4.01 are obsolete, never used, or not used the way they were intended. All those elements are removed or re-written in HTML5.
To better handle today’s internet needs, HTML5 has also included new elements for drawing graphics, displaying media content, for better page structure and better form handling, and several new APIs, such as drag and drop, get the geographical position of a user, store local data, and more.
Below is a list of the new HTML elements, introduced by HTML5, and a description of what they are used for.
The New <canvas> Element
Note: The links in the tables below point to our HTML5 Reference. However, you will learn more about these new elements in this tutorial.
New Media Elements
- <audio> Defines sound or music content
- <embed> Defines containers for external applications (like plug-ins)
- <source> Defines sources for <video> and <audio>
- <track> Defines tracks for <video> and <audio>
- <video> Defines video or movie content
New Form Elements
- <datalist> Defines pre-defined options for input controls
- <keygen> Defines a key-pair generator field (for forms)
- <output> Defines the result of a calculation
New Semantic/Structural Elements
HTML5 offers new elements for better structure:
- <article> Defines an article in the document
- <aside> Defines content aside from the page content
- <bdi> Defines a part of text that might be formatted in a different direction from other text outside it
- <details> Defines additional details that the user can view or hide
- <dialog> Defines a dialog box or window
- <figcaption> Defines a caption for a <figure> element
- <figure> Defines self-contained content, like illustrations, diagrams, photos, code listings, etc.
- <footer> Defines a footer for the document or a section
- <header> Defines a header for the document or a section
- <main> Defines the main content of a document
- <mark> Defines marked or highlighted text
- <menuitem> Defines a command/menu item that the user can invoke from a popup menu
- <meter> Defines a scalar measurement within a known range (a gauge)
- <nav> Defines navigation links in the document
- <progress> Defines the progress of a task
- <rp> Defines what to show in browsers that do not support ruby annotations
- <rt> Defines an explanation/pronunciation of characters (for East Asian typography)
- <ruby> Defines a ruby annotation (for East Asian typography)
- <section> Defines a section in the document
- <summary> Defines a visible heading for a <details> element
- <time> Defines a date/time
- <wbr> Defines a possible line-break
The following HTML 4.01 elements has been removed from HTML5:
May 8, 2014 at 4:30 pm #227
Temporibus autem quibusdam et aut officiis debitis aut rerum necessitatibus saepe eveniet ut et voluptates repudiandae sint et molestiae non recusandae.
Itaque earum rerum hic tenetur a sapiente delectus, ut aut reiciendis voluptatibus maiores alias consequatur aut perferendis doloribus asperiores repellat.”
You must be logged in to reply to this topic.