Monday, 3 February 2014

HTML5 New Elements

HTML5 New Elements

New Elements in HTML5

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 for drag and drop, for finding your geological location, for storing 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 HTML 5 Reference. However, you will learn more about these new elements in this tutorial
TagDescription
<canvas>Defines graphic drawing using JavaScript


New Media Elements

TagDescription
<audio>Defines sound or music content
<video>Defines video or movie content
<source>Defines sources for <video> and <audio>
<track>Defines tracks for <video> and <audio>
<embed>Defines containers for external applications (like plug-ins)


New Form Elements

TagDescription
<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:
TagDescription
<header>Defines a header for the document or a section
<nav>Defines navigation links in the document
<section>Defines a section in the document
<article>Defines an article in the document
<aside>Defines content aside from the page content
<footer>Defines a footer for the document or a section
<details>Defines additional details that the user can view or hide
<summary>Defines a visible heading for a <details> element
<figure>Defines self-contained content, like illustrations, diagrams, photos, code listings, etc.
<figcaption>Defines a caption for a <figure> element
<mark>Defines marked or highlighted text
<time>Defines a date/time
<bdi>Defines a part of text that might be formatted in a different direction from other text outside it
<wbr>Defines a possible line-break
<dialog>Defines a dialog box or window
<command>Defines a command button that a user can invoke
<meter>Defines a scalar measurement within a known range (a gauge)
<progress>Defines the progress of a task
<ruby>Defines a ruby annotation (for East Asian typography)
<rt>Defines an explanation/pronunciation of characters (for East Asian typography)
<rp>Defines what to show in browsers that do not support ruby annotations


Removed Elements

The following HTML 4.01 elements has been removed from HTML5:
  • <acronym>
  • <applet>
  • <basefont>
  • <big>
  • <center>
  • <dir>
  • <font>
  • <frame>
  • <frameset>
  • <noframes>
  • <strike>
  • <tt>

Related Posts:

  • வ.உ.சியும் அமெரிக்க உபெர் கால் டாக்சி சேவையும். சாதாரணமாக ஒரு கால் டாக்சி, ஆட்டோ ரிக்சா பிடித்து ஒரு இடத்திற்கு செல்வது இப்பொழுது மிகவும் எளிது. தடுக்கி விழுந்தா நம்மை தூக்கவோ , இடிக்கவோ ரோட்டில் ஆட்டோ அல்லது கால்டாக்சி கண்டிப்பாக இருக்கும். அமெரிக்காவில் இதுபோல் எ… Read More
  • Windows 10 features that will make your PC safer Every new Microsoft operating system release is both a cause for celebration and a cause for serious consternation and concern among IT folks. New features tend to resolve persistent problems and make things a little easier… Read More
  • Skype brings 'picture-in-picture' feature to its Android app A new update to the Skype App will now allow android users to do away with the video chat window and move on to something more intriguing. The picture-in-picture feature was already available on Android tab… Read More
  • Razer Nabu ஸ்மார்ட் பேண்ட் விரைவில் அறிமுகம் ஸ்மார்ட் கைப்பேசிகளுக்கு பதிலாகவும், உடல் ஆரோக்கியத்தைப் பேணவும் உதவும் வகையில் Razer Nabu ஸ்மார்ட் கைப்பட்டி வடிவமைக்கப்பட்டுள்ளது. இந்தப் கைப்பட்டி எதிர்வரும் டிசம்பர் மாதம் 2ம் திகதி அறிமுகம் செய்யப்படவுள்ளது. Androi… Read More
  • Android Installation in Window 7 Step 1: Setting Up the Development Environment Android SDK Supported development platforms The Vuforia SDK supports Android OS 2.3 and above, and OpenGL ES 2.0 and above. The recommended development environment is Microso… Read More

0 comments:

Post a Comment