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

首頁 > 編程 > HTML > 正文

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

2020-03-22 19:24:31
字體:
來源:轉載
供稿:網友
我們進行CSS網頁布局的時候,都知道它需要符合XHTML1.0規范,在phpstudy.net昨天的文章中,向大家介紹了DTD。如果我們在進行CSS網頁布局的時候,還在使用被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教程

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

發表評論 共有條評論
用戶名: 密碼:
驗證碼: 匿名發表
主站蜘蛛池模板: 阳朔县| 平江县| 云安县| 东阳市| 汉寿县| 仪征市| 绍兴县| 祥云县| 磴口县| 儋州市| 聂拉木县| 柳林县| 昌乐县| 新安县| 石屏县| 巫溪县| 丹凤县| 周口市| 青阳县| 九台市| 景德镇市| 陆河县| 历史| 上饶市| 巴彦县| 泸西县| 宝兴县| 阿克陶县| 册亨县| 宜州市| 攀枝花市| 奈曼旗| 临沂市| 富裕县| 奎屯市| 交口县| 获嘉县| 波密县| 苗栗市| 南安市| 嘉鱼县|