presentational-html: Difference between revisions
Jump to navigation
Jump to search
(Reverting Spam) |
OuladArtan (talk | contribs) (oulidome) |
||
Line 1: | Line 1: | ||
zelror | |||
<h1> Presentational (X)HTML </h1> | <h1> Presentational (X)HTML </h1> | ||
{{TOC-right}} | {{TOC-right}} | ||
Line 11: | Line 12: | ||
== Presentational Elements == | == Presentational Elements == | ||
Presentational elements sensu lato can be divided into two groups. "Deliberate" presentational elements (b, i, small, | Presentational elements sensu lato can be divided into two groups. "Deliberate" presentational elements (b, i, small, â¦) have no semantic meaning and were deliberately designed/created for presentational purposes. "Abused" presentational elements (table, blockquote, â¦) have a semantic meaning, but are abused because of their default appearance in browsers (the blockquote element could be used for indenting text, for example). | ||
=== Deliberate === | === Deliberate === |
Revision as of 23:39, 19 December 2008
zelror
Presentational (X)HTML
Presentational (X)HTML refers to:
- The presentational elements and attributes of (X)HTML (as opposed to the semantic HTML elements and attributes)
- (X)HTML documents that are written using presentational (X)HTML.
- The practice of writing presentational (X)HTML
Contributors
Presentational Elements
Presentational elements sensu lato can be divided into two groups. "Deliberate" presentational elements (b, i, small, â¦) have no semantic meaning and were deliberately designed/created for presentational purposes. "Abused" presentational elements (table, blockquote, â¦) have a semantic meaning, but are abused because of their default appearance in browsers (the blockquote element could be used for indenting text, for example).
Deliberate
Deprecated:
- basefont
- center
- font
- hr
- s
- strike
- tt
- u
Frames:
- frame
- frameset
- iframe
Strict but mostly presentational:
- b
- br (when used for spacing, or when used inappropriately where a div or p would have been semantically correct)
- big
- i
- small
- sub
- sup
Abused
- blockquote (when used for indenting text)
- table (when used for layout)
Presentational Attributes
(This list is incomplete, please add!)
- align
- alink
- bgcolor
- color
- face
- height
- link (on body)
- size (on font element)
- valign
- vlink
- width