INLINE ELEMENTS-Most inline elements in XHTML are elements used to style content. This means that they allow the author to alter how content looks. These elements are called styling elements and exist only to alter the appearance of the text. Many styling elements have been deprecated in favor of style sheets, but they are still largely in use
The short definition is that inline elements are elements that are found in the text of the HTML document. They are also sometimes called text level elements.
Inline elements have some specific distinctions from block-level elements:
Inline elements generally only contain text, data or other inline elements. They are usually "smaller" than block-level elements.
Inline elements do not generally begin new lines of text.
Inline elements inherit directionality information differently from block-level elements.
BLOCKED ELEMENTS- The basic building blocks of an XHTML document are the elements that form the primary content of the document. These elements are usually referred to as block elements since they take the form of discrete blacks of text on the screen. Block elements always begin on a new line when displayed.
ADDRESS - Address
BLOCKQUOTE - Block quotation
CENTER - Centered block
DIR - Directory list
DIV - Generic block-level container
DL - Definition list
FIELDSET - Form control group
FORM - Interactive form
H1 - Level-one heading
H2 - Level-two heading
H3 - Level-three heading
H4 - Level-four heading
H5 - Level-five heading
H6 - Level-six heading
HR - Horizontal rule
ISINDEX - Input prompt
MENU - Menu list
NOFRAMES - Frames alternate content
NOSCRIPT - Alternate script content
OL - Ordered list
P - Paragraph
PRE - Preformatted text
TABLE - Table
UL - Unordered list
The following elements may also be considered block-level elements since they may contain block-level elements:
DD - Definition description
DT - Definition term
FRAMESET - Frameset
LI - List item
TBODY - Table body
TD - Table data cell
TFOOT - Table foot
TH - Table header cell
THEAD - Table head
TR - Table row
Walang komento:
Mag-post ng isang Komento