|
If you find this helpful, please click the Google |
The <device/> Tag in HTML 5
<device/> Tag Syntax
Rules for coding HTML device elements
<device/> Content Model
Contents of the device element
Content: Empty. All properties are coded using attributes.
Since the <device/> tag is a void element, it is not allowed to have any content, even HTML comments and therefore should always be coded as a self-closing standalone tag, ending with the delimiters /> rather than just > (<device .../>).
<device> Tag Attributes
Attributes of the <device/> tag
| global attributes | In addition to the personal attributes of the <device/> tag below, any of the common HTML attributes can also be coded. |
<device/> Tag Examples
Examples of the <device/> tag in HTML 5
Changes in HTML 5 - <device/> Tag
What's new in HTML 5
The <device/> tag is one of the new elements in HTML 5.
Differences between HTML 5 and earlier versions of HTML
The <device/> tag did not exist in older versions of HTML.
The 2000-2010 Recommendations from the W3C HTML Working Group defined the HTML namespace for the names of all HTML element types, which now includes the device element name. In older (pre-2000) versions of HTML, element type names were not associated with a namespace.