2014年3月22日土曜日

HTML TAG Inline elements

"Inline" is categorization of HTML elements, as contrasted with "block-level" elements. 
Inline elements can appear within block-level or other inline elements. 
They take up the width of their contents. 

The differences between inline and block-level elements include:

Content model
Generally, inline elements may contain only data and other inline elements.

Formatting
By default, inline elements do not begin with new line.

Elements
The following elements are "inline":

b, big, i, small, tt
abbr, acronym, cite, code, dfn, em, kbd, strong, samp, var
a, bdo, br, img, map, object, q, script, span, sub, sup
button, input, label, select, textarea

0 件のコメント:

コメントを投稿