国产探花免费观看_亚洲丰满少妇自慰呻吟_97日韩有码在线_资源在线日韩欧美_一区二区精品毛片,辰东完美世界有声小说,欢乐颂第一季,yy玄幻小说排行榜完本

首頁 > 編程 > HTML > 正文

XHTML中不再使用HTML中的一些廢棄元素

2020-03-24 17:07:38
字體:
供稿:網(wǎng)友
我們進行CSS網(wǎng)頁布局的時候,都知道它需要符合XHTML1.0規(guī)范,在phpstudy.net昨天的文章中,向大家介紹了DTD。如果我們在進行CSS網(wǎng)頁布局的時候,還在使用被W3C廢棄的元素,那就失去了使用CSS的意義,雖然它們可能同樣被樣式控制。
在XHTML中不再使用HTML中的一些廢棄元素。它們主要有以下一些。
ElementsandattributesthathavebeendeprecatedinthemostrecentversionofXHTML,XHTML1.0.

Elements

applet /applet
Theappletelementhasbeendeprecatedinfavorof object /object .

basefont/
Thebasefontelementhasbeendeprecatedinfavorofstylesheets.

blackface /blackface
TheblackfaceelementisaWebTV(MSNTV)elementthathasbeendeprecatedinfavorofstylesheets.

blockquote /blockquote
Theblockquoteelementisdeprecatedinfavorofstylesheetswhenusedtoindenttext.

center /center
Thecenterelementhasbeendeprecatedinfavorofstylesheets.

dir /dir
Thedirelementhasbeendeprecatedinfavorof ul /ul .

embed/
Theembedelementhasbeendeprecatedinfavorof object /object .

font /font
Thefontelementhasbeendeprecatedinfavorofstylesheets.

i /i
Theielementhasbeendeprecatedinfavorofstylesheets.

isindex/
TheisindexelementhasbeendeprecatedinfavoroftheinputelementandCGIforms.

layer /layer
Thelayerelementhasbeendeprecatedinfavorofstylesheets.

menu /menu
Themenuelementhasbeendeprecatedinfavorof ul /ul .

noembed /noembed
Thenoembedelementhasbeendeprecatedinfavorof object /object .

s /s
Theselementhasbeendeprecatedinfavorofstylesheets.

shadow /shadow
Theshadowelementhasbeendeprecatedinfavorofstylesheets.

strike /strike
Thestrikeelementhasbeendeprecatedinfavorofstylesheets.

u /u
Thestrikeelementhasbeendeprecatedinfavorofstylesheets.

Attributes

alink
ThealinkattributedefinesthecolorofanactivelinkontheWebpage.Ithasbeendeprecatedinfavorofstylesheets.

align
Usedtoalignelementsverticallyandhorizontallyonthedocumentpage,thealignattributehasbeendeprecatedinfavorofstylesheets.

background
Thebackgroundattributeisusedtodefineabackgroundimagefortheelement.Ithasbeendeprecatedinfavorofstylesheets.

border
Usedtodefineaborderaroundtheelement,theborderattributehasbeendeprecatedinfavorofstylesheets.

color
Usedtodefinethecoloroftheenclosedtext,thecolorattributehasbeendeprecatedinfavorofstylesheets.

compact
Thecompactattributeisusedinlisttagstocreatealistthattakesuplessspace.Ithasbeendeprecatedinfavorofstylesheets.

face
Usedtodefinethefontfaceoftheenclosedtext,thefaceattributehasbeendeprecatedinfavorofstylesheets.

height
Usedtodefinetheheightoftheelement,theheightattributehasbeendeprecatedinfavorofstylesheets.

language
Thelanguageattributeisusedtodefinethelanguageusedbythescriptelement.Ithasbeendeprecatedinfavorofthetypeattribute.

link
ThelinkattributedefinesthecolorofalinkontheWebpage.Ithasbeendeprecatedinfavorofstylesheets.

name
Thenameattributenamestheelementforusewithdynamiccontent,ithasbeendeprecatedinfavoroftheidattribute.

noshade
Thenoshadeattributeremovesthe3-Deffectfromhorizontalrules.Ithasbeendeprecatedinfavorofstylesheets.

nowrap
Usedtostoptablecontentsfromwrapping,thenowrapattributehasbeendeprecatedinfavorofstylesheets.

size
Usedtodefinethesizeoftheenclosedtext,thesizeattributehasbeendeprecatedinfavorofstylesheets.

start
Thestartattributeoflisttagsdefinesthestartingnumberofthelist.Thisattributehasbeendeprecatedinfavorofstylesheets.

text
ThetextattributedefinesthecolorofthetextontheWebpage.Ithasbeendeprecatedinfavorofstylesheets.

type
Thetypeattributeoflisttagsdefineswhattypeoflistshouldbeused.Thisattributehasbeendeprecatedinfavorofstylesheets.

html' target='_blank'>value
Thevalueattributeoflisttagssetsthevalueofthelistitem.Thisattributehasbeendeprecatedinfavorofstylesheets.

version
TheversionattributedefinestheversionofHTMLusedbythedocument.IthasbeendeprecatedinfavorofDTDs.

vlink
ThevlinkattributedefinesthecolorofavisitedlinkontheWebpage.Ithasbeendeprecatedinfavorofstylesheets.

width
Thewidthattributedefinesthewidthinpixelsoftheelement.Ithasbeendeprecatedinfavorofstylesheets.
html教程

鄭重聲明:本文版權(quán)歸原作者所有,轉(zhuǎn)載文章僅為傳播更多信息之目的,如作者信息標記有誤,請第一時間聯(lián)系我們修改或刪除,多謝。

發(fā)表評論 共有條評論
用戶名: 密碼:
驗證碼: 匿名發(fā)表
主站蜘蛛池模板: 类乌齐县| 凉城县| 青州市| 新营市| 广西| 屯留县| 巩义市| 奇台县| 洪湖市| 罗源县| 高邮市| 临武县| 宁河县| 扎兰屯市| 连州市| 成都市| 德江县| 石门县| 漠河县| 新营市| 靖安县| 平乡县| 卢氏县| 灵台县| 临江市| 安顺市| 华坪县| 健康| 苏州市| 淮滨县| 广德县| 镇江市| 读书| 洪江市| 嘉定区| 五家渠市| 澄迈县| 措美县| 基隆市| 东丽区| 延安市|