HTML冷门标签

HTML冷门标签

  1. abbr,acronym;
  2. base;
  3. bdi,bdo;
  4. caption
  5. blockquote,cite;
  6. col;
  7. dialog;
  8. figcaption;
  9. keygen.

abbr
标记一个缩写:

The <abbr title="People's Republic of China">PRC</abbr> was founded in 1949.

acronym
标记一个首字母缩写:

<acronym title="World Wide Web">WWW</acronym>

base
标签为页面上的所有链接规定默认地址或默认目标。



<body>
<img src="eg_smile.gif" />
<a href="http://www.w3school.com.cn">W3School</a>
</body>

bdo定义文字方向

<bdo dir="rtl">Here is some text</bdo>

caption 元素定义表格标题。

<table border="1">
  <caption>Monthly savings</caption>
  <tr>
    <th>Month</th>
    <th>Savings</th>
  </tr>
  <tr>
    <td>January</td>
    <td>$100</td>
  </tr>
</table>
<em>    把文本定义为强调的内容。
<strong>    把文本定义为语气更强的强调的内容。
<dfn>   定义一个定义项目。
<code>  定义计算机代码文本。
<samp>  定义样本文本。
<kbd>   定义键盘文本。它表示文本是从键盘上键入的。它经常用在与计算机相关的文档或手册中。
<var>   定义变量。您可以将此标签与 <pre><code> 标签配合使用。
<cite>  定义引用。可使用该标签对参考文献的引用进行定义,比如书籍或杂志的标题。

标签为表格中一个或多个列定义属性值


<table width="100%" border="1">
  <col align="left" />
  <col align="left" />
  <col align="right" />
  <tr>
    <th>ISBN</th>
    <th>Title</th>
    <th>Price</th>
  </tr>
  <tr>
    <td>3476896</td>
    <td>My first HTML</td>
    <td>$53</td>
  </tr>
</table>

dialog
标签定义对话框或窗口。

<table border="1">
<tr>
  <th>一月 <dialog open>这是打开的对话窗口</dialog></th>
  <th>二月</th>
  <th>三月</th>
</tr>
<tr>
  <td>31</td>
  <td>28</td>
  <td>31</td>
</tr>
</table>

figcaption 标签定义 figure 元素的标题(caption)。
“figcaption” 元素应该被置于 “figure” 元素的第一个或最后一个子元素的位置。

<figure>
  <figcaption>黄浦江上的的卢浦大桥</figcaption>
  <img src="shanghai_lupu_bridge.jpg" width="350" height="234" />
</figure>

keygen 标签规定用于表单的密钥对生成器字段。
当提交表单时,私钥存储在本地,公钥发送到服务器。

<form action="demo_keygen.asp" method="get">
Username: <input type="text" name="usr_name" />
Encryption: <keygen name="security" />
<input type="submit" />
</form>
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值