HTML冷门标签
2015-10-04 22:36
489 查看
HTML冷门标签
abbr,acronym;base;
bdi,bdo;
caption
blockquote,cite;
col;
dialog;
figcaption;
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>
相关文章推荐
- 学习笔记:Html浮动元素的定位
- html: Table合并行和列
- html: Table标签的初步使用
- html:段落的控制
- html:字体属性控制,水平线,上下标,插入图片
- HTML 基础知识
- html页面自动跳转
- html小需求——科技文章展示
- META
- 选择器.HTML
- 打开新的页面.HTML
- html学习之一
- HTML学习记录<五> :列表
- HTML学习记录<四> :创建图像映射
- 添加html元素
- HTML初步学习10
- HTML中隐藏掉select的下拉箭头
- HTML DOM insertBefore() 方法 使用的时候发现一个问题,记录下
- 插入音乐.HTML
- 图片摆置.HTML