哪些不举荐运用的html标签
<p style="font-size: 16px; color: black; line-height: 40px; text-align: left; margin-bottom: 15px;"><img src="http://mmbiz.qpic.cn/mmbiz_jpg/0tIK8YmulicNWQ7wd8lwhpfcNMsucePyWOcpgWsIqK6FGubWeBchGosHF8eKuuavBqKNodVPaEvI7XU3eXQZMqg/640?wx_fmt=jpeg&tp=webp&wxfrom=5&wx_lazy=1&wx_co=1" style="width: 50%; margin-bottom: 20px;"></p>
<h2 style="color: black; text-align: left; margin-bottom: 10px;"><span style="color: black;"><strong style="color: blue;">acronym</strong></span></h2>
<p style="font-size: 16px; color: black; line-height: 40px; text-align: left; margin-bottom: 15px;">首字母缩写,例如WWW</p>
<p style="font-size: 16px; color: black; line-height: 40px; text-align: left; margin-bottom: 15px;">类似的有abbr标签,<span style="color: black;">暗示</span>单词缩写,例如inc.。语法如下:</p><span style="color: black;"><acronym title="World Wide Web">WWW</acronym>
<abbr title="incorporated">inc.</abbr></span>
<p style="font-size: 16px; color: black; line-height: 40px; text-align: left; margin-bottom: 15px;"><span style="color: black;">举荐</span>用abbr,不要用acronym(忽略上面<span style="color: black;">说到</span>的语义上的差异)</p>
<h2 style="color: black; text-align: left; margin-bottom: 10px;"><span style="color: black;"><strong style="color: blue;">applet</strong></span></h2>
<p style="font-size: 16px; color: black; line-height: 40px; text-align: left; margin-bottom: 15px;">Java小应用程序,<span style="color: black;">重点</span><span style="color: black;">供给</span>绘图功能(在页面上<span style="color: black;">经过</span>代码绘制<span style="color: black;">有些</span>东西),例如:</p><span style="color: black;"><applet code="ShowImage.class" width=600 height=400 archive="Imagetest.jar"></applet></span>
<p style="font-size: 16px; color: black; line-height: 40px; text-align: left; margin-bottom: 15px;"><span style="color: black;">日前</span>几乎没什么用了,<span style="color: black;">由于</span>运行需要JRE,而<span style="color: black;">日前</span>主流浏览器并不默认安装JRE</p>
<p style="font-size: 16px; color: black; line-height: 40px; text-align: left; margin-bottom: 15px;"><span style="color: black;">举荐</span><span style="color: black;">运用</span>canvas绘图,<span style="color: black;">或</span>用object+embed嵌入flash代替applet</p>
<p style="font-size: 16px; color: black; line-height: 40px; text-align: left; margin-bottom: 15px;"><span style="color: black;">重视</span>:<span style="color: black;">运用</span>object+embed是为了更好的兼容性,<span style="color: black;">倘若</span>场景<span style="color: black;">准许</span>,<span style="color: black;">举荐</span><span style="color: black;">运用</span>object</p>
<h2 style="color: black; text-align: left; margin-bottom: 10px;"><span style="color: black;"><strong style="color: blue;">basefont</strong></span></h2>
<p style="font-size: 16px; color: black; line-height: 40px; text-align: left; margin-bottom: 15px;">basefont标签定义基准字体。该标签<span style="color: black;">能够</span>为文档中的所有文本定义默认字体颜色、字体<span style="color: black;">体积</span>和字体系列,例如:</p><span style="color: black;"><basefont color="red" size="5" face="Arial" /></span>
<p style="font-size: 16px; color: black; line-height: 40px; text-align: left; margin-bottom: 15px;">basefont标签<span style="color: black;">仅有</span>支持</p>
<p style="font-size: 16px; color: black; line-height: 40px; text-align: left; margin-bottom: 15px;"><span style="color: black;">举荐</span>直接给body元素定义默认字体,所有子元素都会继承这些属性值</p>
<h2 style="color: black; text-align: left; margin-bottom: 10px;"><span style="color: black;"><strong style="color: blue;">bgsound</strong></span></h2>
<p style="font-size: 16px; color: black; line-height: 40px; text-align: left; margin-bottom: 15px;">用来添加背景音乐,例如:</p><span style="color: black;"><bgsound src="your.mid" autostart="true" loop="infinite"></span>
<p style="font-size: 16px; color: black; line-height: 40px; text-align: left; margin-bottom: 15px;"><span style="color: black;">举荐</span><span style="color: black;">运用</span>audio<span style="color: black;">或</span>object+embed来代替,例如:</p><span style="color: black;"><embed src="your.mid" autostart="true" loop="true" hidden="true"></span>
<h2 style="color: black; text-align: left; margin-bottom: 10px;"><span style="color: black;"><strong style="color: blue;">big</strong></span></h2>
<p style="font-size: 16px; color: black; line-height: 40px; text-align: left; margin-bottom: 15px;">用来放大字体,放大一号(嵌套多层<span style="color: black;">能够</span>放大<span style="color: black;">更加多</span>),不支持的浏览器<span style="color: black;">表示</span>粗体,例如:</p><span style="color: black;"><big>大1号</big><big><big>大2号</big></big></span>
<p style="font-size: 16px; color: black; line-height: 40px; text-align: left; margin-bottom: 15px;">至于“号”是怎么定义的就别管了,不<span style="color: black;">举荐</span><span style="color: black;">运用</span>,<span style="color: black;">意见</span><span style="color: black;">按照</span>语义采用em、strong<span style="color: black;">或</span>自定义样式类代替</p>
<h2 style="color: black; text-align: left; margin-bottom: 10px;"><span style="color: black;"><strong style="color: blue;">blink</strong></span></h2>
<p style="font-size: 16px; color: black; line-height: 40px; text-align: left; margin-bottom: 15px;"><span style="color: black;">能够</span>实现闪烁效果,例如:</p><span style="color: black;"><blink>Why would somebody use this?</blink></span>
<p style="font-size: 16px; color: black; line-height: 40px; text-align: left; margin-bottom: 15px;">支持性很差,不<span style="color: black;">举荐</span><span style="color: black;">运用</span>,<span style="color: black;">一样</span>不<span style="color: black;">举荐</span><span style="color: black;">运用</span>(各大浏览器支持blink值,但<span style="color: black;">无</span>任何效果):</p><span style="color: black;"><p style="text-decoration: blink">This should be avoided as well.</p></span>
<p style="font-size: 16px; color: black; line-height: 40px; text-align: left; margin-bottom: 15px;"><span style="color: black;">意见</span>采用animation代替</p>
<h2 style="color: black; text-align: left; margin-bottom: 10px;"><span style="color: black;"><strong style="color: blue;">center</strong></span></h2>
<p style="font-size: 16px; color: black; line-height: 40px; text-align: left; margin-bottom: 15px;">使内容居中,例如:</p><span style="color: black;"><center>文本及子元素会居中</center></span>
<p style="font-size: 16px; color: black; line-height: 40px; text-align: left; margin-bottom: 15px;">效果类似于CSS:</p><span style="color: black;">text-align: center;</span>
<p style="font-size: 16px; color: black; line-height: 40px; text-align: left; margin-bottom: 15px;">不<span style="color: black;">意见</span><span style="color: black;">运用</span>,确实<span style="color: black;">无</span>任何理由去用</p>
<h2 style="color: black; text-align: left; margin-bottom: 10px;"><span style="color: black;"><strong style="color: blue;">dir</strong></span></h2>
<p style="font-size: 16px; color: black; line-height: 40px; text-align: left; margin-bottom: 15px;">目录列表,例如:</p><span style="color: black;"><dir>
<li>html</li>
<li>xhtml</li>
<li>css</li>
</dir></span>
<p style="font-size: 16px; color: black; line-height: 40px; text-align: left; margin-bottom: 15px;">效果和ul基本相同,浏览器默认样式下列表项的左边距有细微差异</p>
<p style="font-size: 16px; color: black; line-height: 40px; text-align: left; margin-bottom: 15px;">不<span style="color: black;">举荐</span><span style="color: black;">运用</span>,<span style="color: black;">意见</span><span style="color: black;">按照</span>语义采用ul、ol<span style="color: black;">或</span>dl</p>
<h2 style="color: black; text-align: left; margin-bottom: 10px;"><span style="color: black;"><strong style="color: blue;">font</strong></span></h2>
<p style="font-size: 16px; color: black; line-height: 40px; text-align: left; margin-bottom: 15px;">用来定义字体、字号和颜色,例如:</p><span style="color: black;"><font face="verdana" color="green" size="3">This is some text!</font></span>
<p style="font-size: 16px; color: black; line-height: 40px; text-align: left; margin-bottom: 15px;">属性值和basefont<span style="color: black;">同样</span></p>
<p style="font-size: 16px; color: black; line-height: 40px; text-align: left; margin-bottom: 15px;">不<span style="color: black;">举荐</span><span style="color: black;">运用</span>,<span style="color: black;">意见</span>用CSS代替,没理由用这个标签</p>
<h2 style="color: black; text-align: left; margin-bottom: 10px;"><span style="color: black;"><strong style="color: blue;">frame</strong></span></h2>
<p style="font-size: 16px; color: black; line-height: 40px; text-align: left; margin-bottom: 15px;"><span style="color: black;">协同</span>frameset分栏,例如:</p><span style="color: black;"><!DOCTYPE html>
<html>
<frameset cols="25%,*,25%">
<frame src="frame_a.htm">
<frame src="frame_b.htm">
<frame src="frame_c.htm">
</frameset>
</html></span>
<p style="font-size: 16px; color: black; line-height: 40px; text-align: left; margin-bottom: 15px;"><span style="color: black;">重视</span>:用frameset替换掉body</p>
<p style="font-size: 16px; color: black; line-height: 40px; text-align: left; margin-bottom: 15px;"><span style="color: black;">繁杂</span>的后台页面会用到frameset+frame布局,当然<span style="color: black;">亦</span><span style="color: black;">能够</span>采用float/flex+Ajax实现,<span style="color: black;">按照</span><span style="color: black;">详细</span>场景来定</p>
<h2 style="color: black; text-align: left; margin-bottom: 10px;"><span style="color: black;"><strong style="color: blue;">frameset</strong></span></h2>
<p style="font-size: 16px; color: black; line-height: 40px; text-align: left; margin-bottom: 15px;">见frame</p>
<h2 style="color: black; text-align: left; margin-bottom: 10px;"><span style="color: black;"><strong style="color: blue;">hgroup</strong></span></h2>
<p style="font-size: 16px; color: black; line-height: 40px; text-align: left; margin-bottom: 15px;">给一系列标题分组,例如:</p><span style="color: black;"><hgroup>
<h1>The reality dysfunction</h1>
<h2>Space is not the only void</h2>
</hgroup></span>
<p style="font-size: 16px; color: black; line-height: 40px; text-align: left; margin-bottom: 15px;">虽然<span style="color: black;">供给</span>了一点语义,但<span style="color: black;">由于</span><span style="color: black;">已然</span>过时,<span style="color: black;">因此</span>不<span style="color: black;">举荐</span><span style="color: black;">运用</span></p>
<p style="font-size: 16px; color: black; line-height: 40px; text-align: left; margin-bottom: 15px;"><span style="color: black;">意见</span>采用header代替,例如:</p><span style="color: black;"><header>
<h1>The reality dysfunction</h1>
<p class="subheading">Space is not the only void</p>
</header></span>
<h2 style="color: black; text-align: left; margin-bottom: 10px;"><span style="color: black;"><strong style="color: blue;">isindex</strong></span></h2>
<p style="font-size: 16px; color: black; line-height: 40px; text-align: left; margin-bottom: 15px;">单行文本控件,初始<span style="color: black;">表示</span>prompt值,例如:</p><span style="color: black;"><isindex prompt="string" /></span>
<p style="font-size: 16px; color: black; line-height: 40px; text-align: left; margin-bottom: 15px;"><span style="color: black;">日前</span>支持性很差,不<span style="color: black;">举荐</span><span style="color: black;">运用</span>,<span style="color: black;">意见</span>用input元素代替</p>
<p style="font-size: 16px; color: black; line-height: 40px; text-align: left; margin-bottom: 15px;">W3C<span style="color: black;">意见</span>千万不要用:</p>
<p style="font-size: 16px; color: black; line-height: 40px; text-align: left; margin-bottom: 15px;">No, really, don’t use it. This element is deprecated. It is not implemented
anymore.</p>
<p style="font-size: 16px; color: black; line-height: 40px; text-align: left; margin-bottom: 15px;">引自W3C wiki</p>
<p style="font-size: 16px; color: black; line-height: 40px; text-align: left; margin-bottom: 15px;"><span style="color: black;">详细</span>用法<span style="color: black;">能够</span>参考http://reference.sitepoint.com/html/isindex(很难找,放在<span style="color: black;">这儿</span>)</p>
<h2 style="color: black; text-align: left; margin-bottom: 10px;"><span style="color: black;"><strong style="color: blue;">listing</strong></span></h2>
<p style="font-size: 16px; color: black; line-height: 40px; text-align: left; margin-bottom: 15px;"><span style="color: black;">不消</span>管它是什么,微软都不<span style="color: black;">意见</span><span style="color: black;">运用</span>了:</p>
<p style="font-size: 16px; color: black; line-height: 40px; text-align: left; margin-bottom: 15px;">This element is obsolete and should no longer be used. Use HTMLPreElement,
code or CSS instead. Renders text in a fixed-width font.</p>
<p style="font-size: 16px; color: black; line-height: 40px; text-align: left; margin-bottom: 15px;">引自MSDN listing element | listing object</p>
<h2 style="color: black; text-align: left; margin-bottom: 10px;"><span style="color: black;"><strong style="color: blue;">marquee</strong></span></h2>
<p style="font-size: 16px; color: black; line-height: 40px; text-align: left; margin-bottom: 15px;">滚动字幕,效果很强大,例如:</p><span style="color: black;"><marquee style="height: 104px; width: 22.35%; margin: 10px 20px; bac<span style="color: black;">公斤</span>round-color: rgb(204, 255, 255);" bgcolor="#ccffff" vspace="10" direction="up" height="104" width="22.35%" loop="3" scrollamount="1" scrolldelay="10" hspace="20">
<p align="center"><font color="#000000">此处输入滚动内容</font></p></marquee>
<marquee><span style="color: black;">这儿</span>是输入文字的<span style="color: black;">地区</span>,还<span style="color: black;">能够</span>放<span style="color: black;">照片</span>代码、Flash动画代码和gif动态小图代码。</marquee></span>
<p style="font-size: 16px; color: black; line-height: 40px; text-align: left; margin-bottom: 15px;"><span style="color: black;">更加多</span>效果<span style="color: black;">能够</span>参考移动标签(marquee)属性详解</p>
<p style="font-size: 16px; color: black; line-height: 40px; text-align: left; margin-bottom: 15px;">多用来实现公告,虽然<span style="color: black;">已然</span>过时了,但效果确实很强大,<span style="color: black;">况且</span>支持性良好</p>
<h2 style="color: black; text-align: left; margin-bottom: 10px;"><span style="color: black;"><strong style="color: blue;">multicol</strong></span></h2>
<p style="font-size: 16px; color: black; line-height: 40px; text-align: left; margin-bottom: 15px;">用来实现多列布局,不<span style="color: black;">意见</span><span style="color: black;">运用</span>,任何主流浏览器都不曾支持过</p>
<p style="font-size: 16px; color: black; line-height: 40px; text-align: left; margin-bottom: 15px;">The HTMLelement was an experimental element designed to allow
multi-column layouts. It never got any significant traction and is not
implemented in any major browsers.</p>
<p style="font-size: 16px; color: black; line-height: 40px; text-align: left; margin-bottom: 15px;">引自MDN multicol</p>
<h2 style="color: black; text-align: left; margin-bottom: 10px;"><span style="color: black;"><strong style="color: blue;">nextid</strong></span></h2>
<p style="font-size: 16px; color: black; line-height: 40px; text-align: left; margin-bottom: 15px;"><span style="color: black;">功效</span>未知,支持性未知,不<span style="color: black;">意见</span><span style="color: black;">运用</span></p>
<h2 style="color: black; text-align: left; margin-bottom: 10px;"><span style="color: black;"><strong style="color: blue;">nobr</strong></span></h2>
<p style="font-size: 16px; color: black; line-height: 40px; text-align: left; margin-bottom: 15px;">禁止换行,例如:</p><span style="color: black;"><p>Our telephone number is <nobr>0800 123 123 123</nobr>.</p></span>
<p style="font-size: 16px; color: black; line-height: 40px; text-align: left; margin-bottom: 15px;">不<span style="color: black;">举荐</span><span style="color: black;">运用</span>,<span style="color: black;">意见</span>用CSS代替:</p><span style="color: black;">white-space: nowrap;</span>
<h2 style="color: black; text-align: left; margin-bottom: 10px;"><span style="color: black;"><strong style="color: blue;">noembed</strong></span></h2>
<p style="font-size: 16px; color: black; line-height: 40px; text-align: left; margin-bottom: 15px;">在浏览器不支持embed时,<span style="color: black;">表示</span>内容,类似于noscript,例如:</p><span style="color: black;"><noembed>
<img src="/images/inflate.jpg" alt="Inflate the tyre by holding the
pump at 90 degree angle to the valve">
<p>You can inflate the tyre by holding the pump at 90 degree angle
to the valve, as shown in the image above.</p>
</noembed></span>
<p style="font-size: 16px; color: black; line-height: 40px; text-align: left; margin-bottom: 15px;">不<span style="color: black;">举荐</span><span style="color: black;">运用</span>,<span style="color: black;">倘若</span>需要<span style="color: black;">思虑</span>兼容性的话,<span style="color: black;">意见</span>采用object+embed+noembed(embed/noembed<span style="color: black;">做为</span>object的fallback)</p>
<h2 style="color: black; text-align: left; margin-bottom: 10px;"><span style="color: black;"><strong style="color: blue;">noframes</strong></span></h2>
<p style="font-size: 16px; color: black; line-height: 40px; text-align: left; margin-bottom: 15px;">在浏览器不支持frameset+frame时,<span style="color: black;">表示</span>内容,类似于noscript,例如:</p><span style="color: black;"><html>
<frameset cols="25%,50%,25%">
<frame src="frame_a.htm">
<frame src="frame_b.htm">
<frame src="frame_c.htm">
<noframes>Sorry, your browser does not handle frames!</noframes>
</frameset>
</html></span>
<p style="font-size: 16px; color: black; line-height: 40px; text-align: left; margin-bottom: 15px;">noframe标签中<span style="color: black;">能够</span><span style="color: black;">包括</span>任何能够出<span style="color: black;">此刻</span>body中的标签</p>
<p style="font-size: 16px; color: black; line-height: 40px; text-align: left; margin-bottom: 15px;"><span style="color: black;">倘若</span>需要<span style="color: black;">思虑</span>兼容性的话,<span style="color: black;">能够</span><span style="color: black;">做为</span>frame的fallback,<span style="color: black;">意见</span>采用float/flex+Ajax实现,<span style="color: black;">按照</span><span style="color: black;">详细</span>场景来定</p>
<h2 style="color: black; text-align: left; margin-bottom: 10px;"><span style="color: black;"><strong style="color: blue;">plaintext</strong></span></h2>
<p style="font-size: 16px; color: black; line-height: 40px; text-align: left; margin-bottom: 15px;">忽略内容中的html标签,<span style="color: black;">功效</span>类似于pre,例如:</p><span style="color: black;"><p>The markup for this is:</p>
<plaintext>
<h1>Main heading goes here</h1>
<p>First paragraph goes here</p>
<h2>Sub-heading goes here</h2>
</plaintext>.
</body>
</html></span>
<p style="font-size: 16px; color: black; line-height: 40px; text-align: left; margin-bottom: 15px;">不<span style="color: black;">举荐</span><span style="color: black;">运用</span>,<span style="color: black;">意见</span><span style="color: black;">按照</span>语义用pre<span style="color: black;">或</span>code代替</p>
<h2 style="color: black; text-align: left; margin-bottom: 10px;"><span style="color: black;"><strong style="color: blue;">spacer</strong></span></h2>
<p style="font-size: 16px; color: black; line-height: 40px; text-align: left; margin-bottom: 15px;"><span style="color: black;">插进</span>空白(white spaces),例如:</p><span style="color: black;"><span>Just a text node</span>
<spacer type="horizontal" size="10"></spacer>
<span>Just another text node</span>
<spacer type="block" width="10" height="10"></spacer></span>
<p style="font-size: 16px; color: black; line-height: 40px; text-align: left; margin-bottom: 15px;">主流浏览器都不支持,不<span style="color: black;">举荐</span><span style="color: black;">运用</span></p>
<h2 style="color: black; text-align: left; margin-bottom: 10px;"><span style="color: black;"><strong style="color: blue;">strike</strong></span></h2>
<p style="font-size: 16px; color: black; line-height: 40px; text-align: left; margin-bottom: 15px;">删除线,效果类似于del和s,例如:</p><span style="color: black;"><p>Version 2.0 is <strike>not yet available!</strike> now available!</p></span>
<p style="font-size: 16px; color: black; line-height: 40px; text-align: left; margin-bottom: 15px;">不<span style="color: black;">举荐</span><span style="color: black;">运用</span>,<span style="color: black;">意见</span>用del代替</p>
<h2 style="color: black; text-align: left; margin-bottom: 10px;"><span style="color: black;"><strong style="color: blue;">tt</strong></span></h2>
<p style="font-size: 16px; color: black; line-height: 40px; text-align: left; margin-bottom: 15px;">键盘输入(teletype),例如:</p><span style="color: black;"><p><tt>Teletype text</tt></p></span>
<p style="font-size: 16px; color: black; line-height: 40px; text-align: left; margin-bottom: 15px;">不<span style="color: black;">举荐</span><span style="color: black;">运用</span>,<span style="color: black;">意见</span><span style="color: black;">按照</span>语义用kbd(键盘按键)、var(变量)、code(代码)、samp(样例输出)<span style="color: black;">或</span>CSS代替</p>
<h2 style="color: black; text-align: left; margin-bottom: 10px;"><span style="color: black;"><strong style="color: blue;">xmp</strong></span></h2>
<p style="font-size: 16px; color: black; line-height: 40px; text-align: left; margin-bottom: 15px;">80列的样例输出,样式效果类似于pre,语义类似于samp,例如:</p><span style="color: black;"><xmp>
Stock ID Description Price Quantity in Stock
-------- ----------- ----- -----------------
116 Inflatable Armchair 21.50 13
119 Walkie Talkie 40.20 44
</xmp></span>
<p style="font-size: 16px; color: black; line-height: 40px; text-align: left; margin-bottom: 15px;"><span style="color: black;">日前</span>浏览器支持该标签,但不限制80列</p>
<p style="font-size: 16px; color: black; line-height: 40px; text-align: left; margin-bottom: 15px;">不<span style="color: black;">举荐</span><span style="color: black;">运用</span>,<span style="color: black;">意见</span>采用samp代替</p>
<p style="font-size: 16px; color: black; line-height: 40px; text-align: left; margin-bottom: 15px;"><span style="color: black;">via:http://www.ayqy.net/blog/不<span style="color: black;">举荐</span><span style="color: black;">运用</span>的html标签/</span></p>
<p style="font-size: 16px; color: black; line-height: 40px; text-align: left; margin-bottom: 15px;"><img src="http://mmbiz.qpic.cn/mmbiz_jpg/0tIK8YmulicOozrjUSDKbNgoxv13KWYLYb3cHvy3RwsGY0BzJgZOn4biafibtSo11vcSVwuw2LYzzGgYDPnjicFJJw/640?wx_fmt=jpeg&tp=webp&wxfrom=5&wx_lazy=1&wx_co=1" style="width: 50%; margin-bottom: 20px;"></p>
百度seo优化论坛 http://www.fok120.com/ 论坛外链网http://www.fok120.com/
页:
[1]