2015年9月6日
列表
无序列表符号: disc
:实心原点; circle
:空心原点; square
:方形点;
有序列表符号: A
:大写字母; a
:小写字母; I
:大小罗马字母; i
:小写罗马字母;
自定义列表: 自定义列表以<dl>
标签开始。每个自定义列表项以 <dt>
开始。每个自定义列表项的定义以<dd>
开始。
<dl>
<dt>Coffee</dt>
<dd>Black hot drink</dd>
<dt>Milk</dt>
<dd>White cold drink</dd>
</dl>
表单
<form>
<fieldset>
<legend>健康信息</legend>
身高:<input type="text" />
</fieldset>
</form>
图片映射
<map>
标签用于客户端图像映射。图像映射指带有可点击区域的一幅图像。 <img>
中的 usemap 属性可引用 <map>
中的 id 属性,所以我们应向 <map>
添加 id 属性。 area 元素永远嵌套在 map 元素内部。area 元素可定义图像映射中的区域。
示例:
<img src="planets.gif" width="145" height="126" alt="Planets" usemap="#planetmap">
<map name="planetmap">
<area shape="rect" coords="0,0,82,126" href="sun.htm" alt="Sun">
<area shape="circle" coords="90,58,3" href="mercur.htm" alt="Mercury">
<area shape="circle" coords="124,58,8" href="venus.htm" alt="Venus">
</map>
<--
shape : 有几个选择:
rect : 矩形,coords对应的坐标为左上角和右下角。
circle:圆,coords对应的是圆心(x,y),和半径r。
poly: 多边形,coords对应的是每个点的坐标,每两个为一组表示一个点。
coords:坐标,根据shape的值去定义。
href:链接。
-->
< meta > 元素
参看:
meta()
标签使用参考
Last updated
Was this helpful?