<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
    主站蜘蛛池模板: 亚洲一卡2卡三卡4卡有限公司| 亚洲av午夜成人片精品电影 | 久久久久久亚洲Av无码精品专口| 国产黄在线观看免费观看不卡| 亚洲人成无码久久电影网站| 色多多A级毛片免费看| 日韩高清在线免费观看| 亚洲经典千人经典日产| 国产精品成人免费综合| 看Aⅴ免费毛片手机播放| 亚洲国产一成久久精品国产成人综合 | 国产精品亚洲精品日韩电影| 亚洲?v女人的天堂在线观看| 91av免费在线视频| 亚洲精品蜜桃久久久久久| 久久久久久AV无码免费网站下载| 337p欧洲亚洲大胆艺术| 成人特黄a级毛片免费视频| 亚洲av永久中文无码精品| 亚洲精品偷拍视频免费观看| 免费一级不卡毛片| 亚洲伊人色一综合网| 国产片免费福利片永久| 有色视频在线观看免费高清在线直播 | 亚洲欧洲日本在线| 特级精品毛片免费观看| 亚洲人成人77777在线播放| 日本一区免费电影| 国产又黄又爽又大的免费视频| 亚洲性一级理论片在线观看| 国产成人高清精品免费鸭子| 人妻免费一区二区三区最新| 亚洲专区一路线二| 亚洲成av人片不卡无码久久| 免费不卡在线观看AV| 亚洲AV无码片一区二区三区| 国产亚洲精品无码成人| 毛片大全免费观看| 99re6在线精品免费观看| 国产成人精品日本亚洲专一区 | 亚洲AV人无码激艳猛片|