Home > 実践 Web Standards Design p.060

実践 Web Standards Design p.060

  • Last Modified: 2008年11月30日 11:07

このページは、実践 Web Standards Design が第 1 刷・第 2 刷から第 3 刷となる際に、仕様自体の変更によって内容を修正した分について公開しています。

2 (X)HTMLの基本

Every HTML document must have a TITLE element in the HEAD section.
Certain HTML elements that may appear in BODY are said to be "block-level" while others are "inline" (also known as "text level").
Block-level elements are those elements of the source document that are formatted visually as blocks (e.g., paragraphs). Several values of the 'display' property make an element block-level: 'block', 'list-item', and 'run-in' (part of the time; see run-in boxes), and 'table'.
Definition: XML 1.1 documents MUST begin with an XML declaration which specifies the version of XML being used.
Definition: XML documents SHOULD begin with an XML declaration which specifies the version of XML being used.
PI   ::=   '<?' PITarget (S (Char* - (Char* '?>' Char*)))? '?>'
The section element, in conjunction with the h element, offers a mechanism for structuring documents into sections. This element defines content to be block-level but imposes no other presentational idioms on the content, which may otherwise be controlled from a style sheet.
The practice of skipping heading levels is considered to be bad practice. The series h1 h2 h1 is acceptable, while h1 h3 h1 is not, since the heading level h2 has been skipped.
User agents do not generally render elements that appear in the HEAD as content.
Note that a meta http-equiv statement will not be recognized by XML processors, and authors SHOULD NOT include such a statement in an XHTML document served as 'application/xml' (and 'application/xhtml+xml' as well for that matter).

Home > 実践 Web Standards Design p.060

Tag Cloud
  • Feed by feedburner.jp

Return to page top