<rt id="bn8ez"></rt>
<label id="bn8ez"></label>

  • <span id="bn8ez"></span>

    <label id="bn8ez"><meter id="bn8ez"></meter></label>

    Sealyu

    --- 博客已遷移至: http://www.sealyu.com/blog

      BlogJava :: 首頁 :: 新隨筆 :: 聯系 :: 聚合  :: 管理 ::
      618 隨筆 :: 87 文章 :: 225 評論 :: 0 Trackbacks

    According to HTML standards, each HTML document requires a document type declaration. The "DOCTYPE" begins the HTML document and tells a validator which version of HTML to use in checking the document's syntax.

    If standard HTML does not meet your needs but you still wish to gain the benefits of HTML validation, see the section on using a custom DTD.

    The following DOCTYPEs are commonly used:

    <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01//EN"
    "http://www.w3.org/TR/html4/strict.dtd">

    This declares the document to be HTML 4.01 Strict. HTML 4.01 Strict is a trimmed down version of HTML 4.01 that emphasizes structure over presentation. Deprecated elements and attributes (including most presentational attributes), frames, and link targets are not allowed in HTML 4 Strict. By writing to HTML 4 Strict, authors can achieve accessible, structurally rich documents that easily adapt to style sheets and different browsing situations. However, HTML 4 Strict documents may look bland on very old browsers that lack support for style sheets.

    Newer browsers such as Internet Explorer 5 for Mac, Netscape 6, and Mozilla use a standards-compliant rendering for HTML 4 Strict documents. These browsers use a "quirks" mode for most other document types to emulate rendering bugs in older browsers.

    <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"
    "http://www.w3.org/TR/html4/loose.dtd">

    This declares the document to be HTML 4.01 Transitional. HTML 4 Transitional includes all elements and attributes of HTML 4 Strict but adds presentational attributes, deprecated elements, and link targets.

    Newer browsers such as Internet Explorer 5 for Mac, Netscape 6, and Mozilla use a standards-compliant rendering for HTML 4.01 Transitional documents that include the URI of the DTD in the DOCTYPE. These browsers use a "quirks" mode to emulate rendering bugs in older browsers if the URI is omitted:

    <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">

    <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Frameset//EN"
    "http://www.w3.org/TR/html4/frameset.dtd">

    This declares the document to be HTML 4.01 Frameset. HTML 4 Frameset is a variant of HTML 4 Transitional for documents that use frames.

    <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN"
    "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">

    This declares the document to be XHTML 1.0 Strict. XHTML 1.0 Strict is an XML version of HTML 4 Strict.

    <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
    "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">

    This declares the document to be XHTML 1.0 Transitional. XHTML 1.0 Transitional is an XML version of HTML 4 Transitional.

    <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Frameset//EN"
    "http://www.w3.org/TR/xhtml1/DTD/xhtml1-frameset.dtd">

    This declares the document to be XHTML 1.0 Frameset. XHTML 1.0 Frameset is an XML version of HTML 4 Frameset.

    <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 3.2 Final//EN">

    This declares the document to be HTML 3.2. HTML 3.2 is well supported by most browsers in use. However, HTML 3.2 has limited support for style sheets and no support for HTML 4 features such as frames and internationalization.

    <!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML//EN">

    This declares the document to be HTML 2.0. HTML 2.0 is widely supported by browsers but lacks support for tables, frames, and internationalization, as well as many commonly used presentational elements and attributes.

    posted on 2010-01-08 09:11 seal 閱讀(239) 評論(0)  編輯  收藏 所屬分類: webCSS
    主站蜘蛛池模板: 好男人看视频免费2019中文 | 亚洲福利一区二区三区| 精品福利一区二区三区免费视频| 亚洲乱码在线播放| 国产大片91精品免费观看男同| 羞羞视频在线免费观看| 亚洲国语精品自产拍在线观看 | 国产成人亚洲综合无码精品 | 黄色网址免费大全| 精品特级一级毛片免费观看| 亚洲精品视频在线观看你懂的| 一区二区免费视频| 久久久久亚洲AV片无码下载蜜桃| 最近中文字幕无免费| 相泽南亚洲一区二区在线播放| 亚洲乱亚洲乱少妇无码| 日韩av无码免费播放| 亚洲国产成a人v在线观看| 亚洲免费视频一区二区三区| 成人免费大片免费观看网站| 日韩毛片免费一二三| 亚洲AV无码专区国产乱码电影| 免费下载成人电影| 免费无码专区毛片高潮喷水| 亚洲情a成黄在线观看动漫尤物| 成年美女黄网站色大免费视频| 日韩亚洲翔田千里在线| 亚洲va无码va在线va天堂| 国产午夜鲁丝片AV无码免费| 99精品视频免费在线观看| 亚洲色成人网站WWW永久四虎| 亚洲大尺度无码专区尤物| 成人免费a级毛片无码网站入口| 少妇性饥渴无码A区免费| 色吊丝免费观看网站| 亚洲妇熟XXXX妇色黄| 亚洲中文字幕日产乱码高清app| 无码专区永久免费AV网站| a在线观看免费视频| a级在线免费观看| 中文字幕乱理片免费完整的|