HTML中的一些廢棄元素

2017-02-26    分類: 網站建設

如果我們在進行CSS網頁布局的時候,還在使用被W3C廢棄的元素,那就失去了使用CSS的意義,雖然它們可能同樣被樣式控制。

  在XHTML中不再使用HTML中的一些廢棄元素。它們主要有以下一些。

  Elements and attributes that have been deprecated in the most recent version of XHTML, XHTML 1.0.

Elements


  The applet element has been deprecated in favor of .


  The basefont element has been deprecated in favor of style sheets.


  The blackface element is a WebTV (MSN TV) element that has been deprecated in favor of style sheets.


  The blockquote element is deprecated in favor of style sheets when used to indent text.


  The center element has been deprecated in favor of style sheets.


  The dir element has been deprecated in favor of
    .


      The embed element has been deprecated in favor of .


      The font element has been deprecated in favor of style sheets.


    The i element has been deprecated in favor of style sheets.


      The isindex element has been deprecated in favor of the input element and CGI forms.


    The layer element has been deprecated in favor of style sheets.


      The menu element has been deprecated in favor of
      .


        The noembed element has been deprecated in favor of .


        The s element has been deprecated in favor of style sheets.


        The shadow element has been deprecated in favor of style sheets.


        The strike element has been deprecated in favor of style sheets.


        The strike element has been deprecated in favor of style sheets.

      Attributes

      alink
        The alink attribute defines the color of an active link on the Web page. It has been deprecated in favor of style sheets.

      align
        Used to align elements vertically and horizontally on the document page, the align attribute has been deprecated in favor of style sheets.

      background
        The background attribute is used to define a background image for the element. It has been deprecated in favor of style sheets.

      border
        Used to define a border around the element, the border attribute has been deprecated in favor of style sheets.

      color
        Used to define the color of the enclosed text, the color attribute has been deprecated in favor of style sheets.

      compact
        The compact attribute is used in list tags to create a list that takes up less space. It has been deprecated in favor of style sheets.

      face
        Used to define the font face of the enclosed text, the face attribute has been deprecated in favor of style sheets.

      height
        Used to define the height of the element, the height attribute has been deprecated in favor of style sheets.

      language
        The language attribute is used to define the language used by the script element. It has been deprecated in favor of the type attribute.

      link
        The link attribute defines the color of a link on the Web page. It has been deprecated in favor of style sheets.

      name
        The name attribute names the element for use with dynamic content, it has been deprecated in favor of the id attribute.

      noshade
        The noshade attribute removes the 3-D effect from horizontal rules. It has been deprecated in favor of style sheets.

      nowrap
        Used to stop table contents from wrapping, the nowrap attribute has been deprecated in favor of style sheets.

      size
        Used to define the size of the enclosed text, the size attribute has been deprecated in favor of style sheets.

      start
        The start attribute of list tags defines the starting number of the list. This attribute has been deprecated in favor of style sheets.

      text
        The text attribute defines the color of the text on the Web page. It has been deprecated in favor of style sheets.

      type
        The type attribute of list tags defines what type of list should be used. This attribute has been deprecated in favor of style sheets.

      value
        The value attribute of list tags sets the value of the list item. This attribute has been deprecated in favor of style sheets.

      version
        The version attribute defines the version of HTML used by the document. It has been deprecated in favor of DTDs.

      vlink
        The vlink attribute defines the color of a visited link on the Web page. It has been deprecated in favor of style sheets.

      width
        The width attribute defines the width in pixels of the element. It has been deprecated in

      網頁標題:HTML中的一些廢棄元素
      當前鏈接:http://m.kartarina.com/news/74420.html

      成都網站建設公司_創(chuàng)新互聯,為您提供云服務器標簽優(yōu)化外貿網站建設商城網站動態(tài)網站網站設計

      廣告

      聲明:本網站發(fā)布的內容(圖片、視頻和文字)以用戶投稿、用戶轉載內容為主,如果涉及侵權請盡快告知,我們將會在第一時間刪除。文章觀點不代表本網站立場,如需處理請聯系客服。電話:028-86922220;郵箱:631063699@qq.com。內容未經允許不得轉載,或轉載時需注明來源: 創(chuàng)新互聯

      搜索引擎優(yōu)化
      主站蜘蛛池模板: 亚洲精品无码永久在线观看你懂的| 69天堂人成无码麻豆免费视频| 少妇无码AV无码专区在线观看| 无码精品国产一区二区三区免费| 无码任你躁久久久久久老妇App | 亚洲日韩乱码中文无码蜜桃臀| 精品人妻无码区在线视频| 在线看片福利无码网址| 日韩精品无码免费专区网站| 永久免费av无码网站韩国毛片| 国产高清无码二区 | 无码国产精品一区二区高潮| 国产成A人亚洲精V品无码| 伊人天堂av无码av日韩av| 亚洲精品无码不卡在线播放HE| 亚洲精品无码中文久久字幕| 久久无码专区国产精品s| 亚洲AV无码乱码精品国产| 免费无码中文字幕A级毛片| 中文字幕精品无码亚洲字| 免费无码又爽又高潮视频| 一本一道VS无码中文字幕| 无码精品人妻一区二区三区人妻斩| 18禁成年无码免费网站无遮挡| 久久午夜无码鲁丝片| 亚洲国产无套无码av电影| 红桃AV一区二区三区在线无码AV| 无码中文av有码中文a| 精品亚洲AV无码一区二区| 久久久久久AV无码免费网站| 国产成人麻豆亚洲综合无码精品 | 无码人妻丰满熟妇片毛片| 国产成人无码精品一区二区三区| 人妻少妇无码视频在线| 精品久久久久久无码中文字幕一区 | 波多野42部无码喷潮在线| 日韩精品无码人妻一区二区三区| 国产精品无码一区二区三区毛片| 亚洲AV无码成人精品区狼人影院| 亚洲AV无码一区二区三区性色| 亚洲AV综合色区无码二区爱AV|