国产探花免费观看_亚洲丰满少妇自慰呻吟_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ā)表
主站蜘蛛池模板: 和林格尔县| 汤原县| 皋兰县| 恩平市| 宁蒗| 通化县| 昌乐县| 临邑县| 宜兴市| 西盟| 哈尔滨市| 永登县| 肥乡县| 丹寨县| 西乌珠穆沁旗| 宁陵县| 平塘县| 宣武区| 齐齐哈尔市| 噶尔县| 旅游| 延庆县| 梅州市| 三穗县| 齐河县| 贵溪市| 谷城县| 思南县| 南城县| 夏津县| 奎屯市| 武夷山市| 虞城县| 耿马| 祁阳县| 平谷区| 开远市| 石家庄市| 宜阳县| 芒康县| 钟山县|