タグ

doctypeに関するnilabのブックマーク (2)

  • W3C QA - Recommended list of Doctype declarations you can use in your Web document

    Warning The list is informative and does not try to be exhaustive (there are many other proper declarations you could use), but it has most of the declarations commonly used on the Web at the moment. Recommended Doctype Declarations to use in your Web document. When authoring document is HTML or XHTML, it is important to Add a Doctype declaration. This makes sure the document will be parsed the sa

    nilab
    nilab 2011/11/11
    HTML, XHTML + MathML + SVG な DOCTYPE あれこれ。 / W3C QA - Recommended list of Doctype declarations you can use in your Web document
  • 各HTMLバージョンのDOCTYPE宣言のサンプル集

    当ページの概要 HTML,XHTMLで使えるDOCTYPE宣言(公開識別子とシステム識別子)などを分かりやすく使いやすくリストにまとめました。 各HTMLバージョンのDOCTYPE宣言(公開識別子とシステム識別子) HTMLでは、バージョンごとに使用できる要素(タグ)や属性、要素の配置のしかたについて厳密に定義されています。これはDTD(Document Type Definition:文書型定義)をDOCTYPE宣言で指定することで、そのバージョン規則に添って表示します。 簡単なメモ書きですので、参考までに。間違っていたらお教え下さい。 HTMLには以下のようなDTDがあります。目的に応じて使い分けてください。他にも大量にあります。 HTML 1.0 DTD HTML 1.0用のDOCTYPEなし HTML 2.0 DTD (RFC1866) [1994年に標準化] <!DOCTYPE

    nilab
    nilab 2008/09/16
    各HTMLバージョンのDOCTYPE宣言のサンプル集
  • 1