New Elements in HTML5

Bozske recepty Forums Coding HTML New Elements in HTML5

Tagged: 

This topic contains 1 reply, has 2 voices, and was last updated by  admin 10 years, 5 months ago.

Viewing 2 posts - 1 through 2 (of 2 total)
  • Author
    Posts
  • #223

    admin
    Keymaster

    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.

    Tag Description
    <canvas> Defines graphic drawing using JavaScript

    New Media Elements
    Tag Description

    • <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
    Tag Description

    • <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:

    Tag Description

    • <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

    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>
    #227

    admin
    Keymaster

    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.”

Viewing 2 posts - 1 through 2 (of 2 total)

You must be logged in to reply to this topic.