presentational-html

(Difference between revisions)

Jump to: navigation, search
(hr is presentational, the HTML4 specs say so.)
Current revision (20:12, 7 January 2009) (view source)
m (Reverted edits by BaselTalbo (Talk) to last version by Brian)
 
(6 intermediate revisions not shown.)
Line 1: Line 1:
<h1> Presentational (X)HTML </h1>
<h1> Presentational (X)HTML </h1>
-
 
+
{{TOC-right}}
Presentational (X)HTML refers to:
Presentational (X)HTML refers to:
# The presentational elements and attributes of (X)HTML (as opposed to the [[semantic-html|semantic HTML]] elements and attributes)
# The presentational elements and attributes of (X)HTML (as opposed to the [[semantic-html|semantic HTML]] elements and attributes)
# (X)HTML documents that are written using presentational (X)HTML.
# (X)HTML documents that are written using presentational (X)HTML.
# The practice of writing presentational (X)HTML
# The practice of writing presentational (X)HTML
-
 
-
__TOC__
 
== Contributors ==
== Contributors ==
Line 13: Line 11:
== Presentational Elements ==
== Presentational Elements ==
-
Presentational elements sensu lato can be divided into two groups. "Pure" presentational elements (b, i, small, …) have no semantic meaning. "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).
+
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).
-
(This list is incomplete, please add!)
+
=== Deliberate ===
-
 
+
Deprecated:
-
Pure:
+
-
 
+
-
* b
+
* basefont
* basefont
-
* big
 
-
* br (when used for spacing, or when used inappropriately where a div or p would have been semantically correct)
 
* center
* center
* font
* font
* hr
* hr
-
* i
 
* s
* s
-
* small
 
* strike
* strike
* tt
* tt
* u
* u
-
* ...
 
-
Abused:
+
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)
* blockquote (when used for indenting text)
* table (when used for layout)
* table (when used for layout)
-
* ...
 
== Presentational Attributes ==
== Presentational Attributes ==
-
 
(This list is incomplete, please add!)
(This list is incomplete, please add!)
-
 
* align
* align
* alink
* alink

Current revision

Presentational (X)HTML

Contents

Presentational (X)HTML refers to:

  1. The presentational elements and attributes of (X)HTML (as opposed to the semantic HTML elements and attributes)
  2. (X)HTML documents that are written using presentational (X)HTML.
  3. 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:

Frames:

Strict but mostly presentational:

Abused

Presentational Attributes

(This list is incomplete, please add!)

See also

References

presentational-html was last modified: Wednesday, January 7th, 2009

Views