`
yangzhiyong77
  • 浏览: 969857 次
文章分类
社区版块
存档分类
最新评论

HTML标签天天练3--<adress><blockquote><ins><del>

 
阅读更多
<wbr style="color:rgb(73,73,73); font-family:simsun; font-size:14px; line-height:21px; text-align:left; background-color:rgb(231,238,244)"><span style="color:rgb(73,73,73); font-family:simsun; font-size:14px; line-height:21px; text-align:left; background-color:rgb(231,238,244)"></span><wbr style="color:rgb(73,73,73); font-family:simsun; font-size:14px; line-height:21px; text-align:left; background-color:rgb(231,238,244)"><span style="color:rgb(73,73,73); font-family:simsun; font-size:14px; line-height:21px; text-align:left; background-color:rgb(231,238,244)">天天练之三,今天来几个长一点的标签:</span> <div style="color:rgb(73,73,73); font-family:simsun; font-size:14px; line-height:21px; text-align:left; background-color:rgb(231,238,244)"> 1)<span style="color:#ED1C24; word-wrap:normal; word-break:normal">&lt;adress&gt;</span>地址,就是在HTML中插入某个地址,更可以插入能点击发邮件的URL地址。比如(复制到DW中尝试):</div> <div style="color:rgb(73,73,73); font-family:simsun; font-size:14px; line-height:21px; text-align:left; background-color:rgb(231,238,244)"> <div> <div> <textarea readonly name="code" class="html">&lt;html&gt; &lt;body&gt; &lt;h2&gt;某人的实体店铺地址&lt;/h2&gt; &lt;address&gt; 广州市天河区&lt;br /&gt; 中山路100号&lt;br /&gt; 邮编630011&lt;br /&gt; &lt;/address&gt; &lt;br /&gt; &lt;h2&gt;夜风的新浪邮箱地址:&lt;/h2&gt; &lt;address&gt; &lt;a href="mailto:nngood2011@sina.com"&gt;E-MAIL至夜风信箱&lt;/a&gt;&lt;br /&gt; &lt;/address&gt; &lt;/body&gt; &lt;/html&gt;</textarea><br> 2)<span style="color:rgb(255,0,0); word-wrap:normal; word-break:normal">&lt;blockquote&gt;</span>用块来引用,即为把文字显示成一块整体,与其它文字有所区分。比如:</div> </div> </div> <div style="color:rgb(73,73,73); font-family:simsun; font-size:14px; line-height:21px; text-align:left; background-color:rgb(231,238,244)"> <div> <textarea readonly name="code" class="html">&lt;html&gt; &lt;body&gt; 如下有一段长句描述: &lt;blockquote&gt; 小钱是大钱的祖宗,你做好准备了吗?需要什么,勤劳能吃苦,别爱面子就成!欢迎来访夜风的博客,以专业的技术眼光,为大家指点迷津..... &lt;/blockquote&gt; 大伙注意,浏览器在 blockquote 元素前后添加了换行,并自动增加了一些外边距。 &lt;/body&gt; &lt;/html&gt;</textarea><br> 3)<span style="color:rgb(255,0,0); word-wrap:normal; word-break:normal">&lt;ins&gt;与&lt;del&gt;</span>分别为定义下划线的文字,定义删除线的文字;别小看这些小标签,在实际工作中是很有用的:</div> </div> <div style="color:rgb(73,73,73); font-family:simsun; font-size:14px; line-height:21px; text-align:left; background-color:rgb(231,238,244)"> <div> <textarea readonly name="code" class="html">&lt;html&gt; &lt;body&gt; &lt;p&gt;在HTML4中,&lt;ins&gt;仍然支持&lt;/ins&gt;&lt;del&gt;这两个标签&lt;/del&gt;&lt;/p&gt; &lt;/body&gt; &lt;/html&gt;</textarea><br><br> </div> </div> </wbr></wbr>
分享到:
评论

相关推荐

Global site tag (gtag.js) - Google Analytics