HTML5 elements

MDU119: Blog 3

Nowadays many browsers like Chrome version 60.0.3112, Internet Explorer Edge 11, Firefox version 54.0.1 and many others out there support HTML 5. But older versions of these browsers don’t support any other the new elements that HTML 5 has to offer.

In the list below are some of the new elements that HTML 5 offers:

Tag Description
<article> Defines an article in a document
<aside> Defines content aside from the page content
<bdi> Isolates 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
<footer> Defines a footer for a document or section
<header> Defines a header for a document or section
<main> Defines the main content of a document
<mark> Defines marked/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
<progress> Represents 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 a document
<summary> Defines a visible heading for a <details> element
<time> Defines a date/time
<wbr> Defines a possible line-break

 

These new elements are no different from the block elements that HTML has and doesn’t have any compatibility issues. Below is the tag <section> as an example due to this one not being compatible:

<style>
section {display: block}
</style>
<section>This is on its own line.</section>
<section>This should appear on a separate line.</section>

To solve the problem and to ensure usability is to add a CSS rule to the site, this makes related elements act like block elements.Some of these above will not work on any of the older browser versions due to being outdated by the new ones we use every day.

Internet Explorer versions 8 and under have difficulties with the new elements. Elements not in the recognised roster cannot and will not be styled by CSS. This means that it cannot operate like block elements or have any CSS formatting.

References:
Commented On:
Advertisements

3 thoughts on “HTML5 elements

  1. You have given a great deal of information in the list of the new HTML elements and their uses, but you probably need to mention a little bit more on if its ok to use them when not all browsers support them. And maybe you could have done a little bit of research on some HTML5 elements that you could implement into the older browsers and those browsers still function and be effective. But overall good blog, and good use of imagery and diagrams (lists).
    Good Blog otherwise. 🙂

    Like

  2. this is a well informative blog due to it including a listing of the new codes within HTML5 however, I would like to see some more elaboration with this concept and how designers can use HTML5 on older browsers.

    Like

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out /  Change )

Google+ photo

You are commenting using your Google+ account. Log Out /  Change )

Twitter picture

You are commenting using your Twitter account. Log Out /  Change )

Facebook photo

You are commenting using your Facebook account. Log Out /  Change )

w

Connecting to %s