semantic-html: Difference between revisions

From Microformats Wiki
Jump to navigation Jump to search
mNo edit summary
(more; indent table parts)
Line 1: Line 1:
<h1> Semantic XHTML </h1>
<h1> Semantic (X)HTML </h1>


Semantic XHTML refers to:
Semantic (X)HTML refers to:
# The semantic elements and attributes of (X)HTML (as opposed to the [[presentational-html|presentational HTML]] elements and attributes)
# The semantic elements and attributes of (X)HTML (as opposed to the [[presentational-html|presentational HTML]] elements and attributes)
# (X)HTML documents that are written using semantic XHTML.
# (X)HTML documents that are written using semantic (X)HTML.
# The practice of writing semantic XHTML
# The practice of writing semantic (X)HTML
# [[posh]]
# [[posh|plain old semantic HTML]]


__TOC__
__TOC__
Line 11: Line 11:
== Contributors ==
== Contributors ==
* [http://tantek.com/ Tantek]
* [http://tantek.com/ Tantek]
* [[User:AndyMabbett|Andy Mabbett]]


== Semantic Elements ==
== Semantic Elements ==
Line 27: Line 28:
* ...
* ...
* h1,h2,h3,h4,h5,h6
* h1,h2,h3,h4,h5,h6
* li
* ...
* ...
* label
* label
* legend
* legend
* ...
* ...
* ol
* p
* p
* q
* q
Line 38: Line 41:
* sub
* sub
* sup
* sup
* table
* table (when used for tabular data, not layout)
* tr
** tbody
** td
** tfoot
** th
** thead
** tr
* ul
* var
* var


Line 51: Line 60:
* hreflang
* hreflang
* id
* id
* lang
* rel
* rel
* rev
* rev
Line 65: Line 75:
* More microformats [[presentations]] in general
* More microformats [[presentations]] in general


== See Also ==
== See also ==
* [[semantic-xhtml-design-principles]]
* [[semantic-xhtml-design-principles]]
* [[semantic-class-names]]
* [[semantic-class-names]]

Revision as of 09:15, 20 April 2007

Semantic (X)HTML

Semantic (X)HTML refers to:

  1. The semantic elements and attributes of (X)HTML (as opposed to the presentational HTML elements and attributes)
  2. (X)HTML documents that are written using semantic (X)HTML.
  3. The practice of writing semantic (X)HTML
  4. plain old semantic HTML

Contributors

Semantic Elements

(This list is incomplete, please add!)

  • a
  • abbr
  • acronym
  • address
  • blockquote
  • cite
  • dt, dd
  • dfn
  • em
  • ...
  • h1,h2,h3,h4,h5,h6
  • li
  • ...
  • label
  • legend
  • ...
  • ol
  • p
  • q
  • ...
  • samp
  • strong
  • sub
  • sup
  • table (when used for tabular data, not layout)
    • tbody
    • td
    • tfoot
    • th
    • thead
    • tr
  • ul
  • var

Semantic Attributes

(This list is incomplete, please add!)

  • class
  • data
  • href
  • hreflang
  • id
  • lang
  • rel
  • rev
  • type

Presentations

The following presentations provide additional background, explanations, and techniques for authoring semantic (X)HTML.

See also

References