semantic-html: Difference between revisions

From Microformats Wiki
Jump to navigation Jump to search
(based on, note (in)completeness progress)
(complete semantic elements list, semantically clustered list)
Line 1: Line 1:
<h1> Semantic (X)HTML </h1>
sssss<h1> Semantic (X)HTML </h1>
{{TOC-right}}
{{TOC-right}}
Semantic (X)HTML refers to:
Semantic (X)HTML refers to:
Line 15: Line 15:
Based on the [http://www.w3.org/TR/html401/index/elements.html Index of HTML 4 Elements].
Based on the [http://www.w3.org/TR/html401/index/elements.html Index of HTML 4 Elements].


This list is incomplete, please add!
=== alphabetical ===
 
Elements for marking up <em>visible</em> text and user interactivity only.
* a
* a
* abbr
* abbr
Line 27: Line 27:
* body
* body
* button
* button
* caption (complete up to here, alphabetically)
* caption
* cite
* cite
* code
* code
* col
* colgroup
* dd
* del
* del
* dfn
* dfn
* dir (deprecated)
* div
* dl
* dl
** dt
* dt
** dd
* em
* em
* fieldset
* fieldset
** legend
* form
* form
* h1,h2,h3,h4,h5,h6
* h1
* h2
* h3
* h4
* h5
* h6
* html
* img
* input
* input
* ins
* ins
* img
* isindex (deprecated)
** map
*** area
* kbd
* kbd
* li
* link
* label
* label
* legend
* legend
* li
* map
* menu (deprecated)
* noframes
* noscript
* object
* object
** map
*** area
* ol
* ol
* optgroup
* option
* p
* p
* pre
* pre
Line 59: Line 70:
* samp
* samp
* select
* select
** optgroup
* span
** option
* strong
* strong
* sub
* sup
* table (when used for tabular data, not layout)
* table (when used for tabular data, not layout)
** tbody
* tbody
** td
* td
** tfoot
** th
** thead
** tr
* textarea
* textarea
* tt
* tfoot
* th
* thead
* title
* tr
* ul
* ul
* var
* var
==== invisible semantics ====
* head
* link
* meta
* param
==== layer hooks ====
* script
* style
=== semantically clustered ===
These lists/clusterings are incomplete.
==== hypertext ====
* a
* area
* map
==== common prose document ====
* abbr
* acronym
* em
* h1
* h2
* h3
* h4
* h5
* h6
* p
* strong
* title
==== quotes and references ====
* blockquote
* cite
* q
==== contact ====
* address
==== infrastructure ====
* html
* body (because of 'profile' attribute)
* base
* del
* ins
==== international ====
* bdo
==== forms ====
* form
** fieldset
*** legend
*** label
*** button
*** input
*** isindex (deprecated)
*** select
**** optgroup
**** option
**** textarea
==== programming ====
* code
* kbd
* pre
* samp
* var
==== tabular data ====
* table (when used for tabular data, not layout)
** caption
** col
** colgroup
** thead
*** th
** tbody
*** tr
**** td
** tfoot
==== definitions ====
* dfn
* dl
** dt
** dd
==== text user interface ====
* dir (deprecated)
* menu (deprecated)
==== media ====
* img
* object


== Semantic Attributes ==
==== lists ====
* ol
* ul
** li


(This list is incomplete, please add!)
==== generic ====
* div
* span


* caption
== Semantic Attributes ==
* class
* data
* href
* hreflang
* id
* lang
* rel
* rev
* scope
* summary
* title
* type


== Presentations ==
== Presentations ==

Revision as of 03:59, 10 September 2007

sssss

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

Based on the Index of HTML 4 Elements.

alphabetical

Elements for marking up visible text and user interactivity only.

  • a
  • abbr
  • acronym
  • address
  • area
  • base
  • bdo
  • blockquote
  • body
  • button
  • caption
  • cite
  • code
  • col
  • colgroup
  • dd
  • del
  • dfn
  • dir (deprecated)
  • div
  • dl
  • dt
  • em
  • fieldset
  • form
  • h1
  • h2
  • h3
  • h4
  • h5
  • h6
  • html
  • img
  • input
  • ins
  • isindex (deprecated)
  • kbd
  • label
  • legend
  • li
  • map
  • menu (deprecated)
  • noframes
  • noscript
  • object
  • ol
  • optgroup
  • option
  • p
  • pre
  • q
  • samp
  • select
  • span
  • strong
  • table (when used for tabular data, not layout)
  • tbody
  • td
  • textarea
  • tfoot
  • th
  • thead
  • title
  • tr
  • ul
  • var

invisible semantics

  • head
  • link
  • meta
  • param

layer hooks

  • script
  • style

semantically clustered

These lists/clusterings are incomplete.

hypertext

  • a
  • area
  • map

common prose document

  • abbr
  • acronym
  • em
  • h1
  • h2
  • h3
  • h4
  • h5
  • h6
  • p
  • strong
  • title

quotes and references

  • blockquote
  • cite
  • q

contact

  • address

infrastructure

  • html
  • body (because of 'profile' attribute)
  • base
  • del
  • ins

international

  • bdo

forms

  • form
    • fieldset
      • legend
      • label
      • button
      • input
      • isindex (deprecated)
      • select
        • optgroup
        • option
        • textarea

programming

  • code
  • kbd
  • pre
  • samp
  • var

tabular data

  • table (when used for tabular data, not layout)
    • caption
    • col
    • colgroup
    • thead
      • th
    • tbody
      • tr
        • td
    • tfoot

definitions

  • dfn
  • dl
    • dt
    • dd

text user interface

  • dir (deprecated)
  • menu (deprecated)

media

  • img
  • object

lists

  • ol
  • ul
    • li

generic

  • div
  • span

Semantic Attributes

Presentations

See POSH Presentations.

See also

References