In this tutorial, we will discuss about one of the type of HTML5 elements i.e Inline elements. As in one of the article, we already have posted information about different types of HTML4 elements and difference between them. You can read that article by clicking on Read More...
HTML5 Inline Elements
In general, HTML5 elements can be divided into two categories :
1. Block Level Elements2. Inline Elements
Details about HTML5 Inline Elements
1. HTML inline level elements can appear in the body of an HTML page.2. It can contain data and other inline elements.
3. By default, inline elements do not begin on new lines.
4. inline elements create shorter structures (than block level elements).
Here is the complete list of Inline Elements in HTML5
Selector | HTML Use | Selector | HTML Use |
---|---|---|---|
a | Anchored Link | label | Label for Form Element |
abbr | Abbreviation | legend | Title in Fieldset |
address | A Physical Address | link | Resource Reference |
area | Area in Image Map | mark* | Marked Rext |
audio* | Sound Content | meter* | Measurement Range |
bm | Bold text | nav* | Navigation Links |
cite | Short Citation | optgroup | Group of Form Options |
code | Code Text | option | An Option in a Drop-down List |
del | Deleted Text | q | Short Quote |
details* | Details of an Element | small | Small Print |
dfn | Defined Term | select | Selectable List |
command* | Command Button | source* | Media resource |
datalist* | Drop-down List | span | Localized Style Formatting |
em | Emphasis | strong | Strong Emphasis |
font | Font Appearance | sub | Subscript |
i | Italic | summary* | Details Header |
iframe | Inline sub-window | sup | Superscript |
img | Image Embedding | tbody | Table Body |
input | Input Field | td | Table Data |
ins | Inserted Text | time* | Date/Time |
kbd | Keyboard Text | var | Variable |
* will represent Inline Elements new in HTML5
Conclusion :
I hope that this article would have helped you in understanding HTML5 Inline Elements. Your feedback and constructive contributions are always welcome.
No comments:
Post a Comment