XHTML 5 Reference

go to previous section go to next section


Core Attributes and Tags

Here we look at the generic tags and attributes you are likely to find inside of the <body> </body> container in the web page.

Attributes

The following attributes can be used on almost any tag within the body of your web page.

The XHTML 1.0 version of this page also listed event handlers so as to allow JavaScript to be attached to the web page. As all web browsers that support XHTML also support the far more powerful event listeners that are included in the JavaScript itself rather than being jumbled with the XHTML there is no longer any reason for using event handlers with XHTML pages.

General Tags

The following tags allow you to split your document up into sections which can be formatted and manipulated differently from the other sections of your document. These new wrappers were introduced in XHTML 5 and in XHTML 1.0 you needed to use a div tag with an id or class to try to achieve the same effect.

go to previous section go to next section

 

This article written by Stephen Chapman, Felgall Pty Ltd.

go to top

FaceBook Follow
Twitter Follow
Donate