规则 图像 多媒体
<hr>告诉浏览器去插入一条水平线
属性:
size:水平线宽度,but deprecated in HTML 4 and XHTML
noshade
width:长度
align:水平布局
color:颜色
<img>
src:图片的uri
align:图片的布局
border:图片的边框
height :图片的高度
width:图片的宽度
alt:提示的内容
hspace:水平线的距离
vspace:垂直线的距离
ismap:被引用的标识
<a href="/cgi-bin/images/map2">
<img src="pics/map2.gif" ismap usemap="#map2">
</a>
...
<map name="map2">
<area coords=0,0,49,49" href="link1.html">
<area coords="50,0,99,49" href="link2.html">
<area coords="0,50,49,99" href="link3.html">
<area coords="50,50,99,99" href="link4.html">
</map>
Video Extentions:
dynsrc 属性可以指向一个AVI, MPG or MPEG, MOV, WMV, or any popular movie format for inline display by Internet Explorer
<img dynsrc="movies/intro.avi" loop=10 start="fileopen,mouseover">
<body>
bgcolor:背景颜色
background:背景图片
link, vlink, and alink attributes
leftmargin topmargin
背景音乐:
<bgsound src="audio/noise.wav" loop=infinite> IE支持
Format | Type | Extension | Platform of origin |
---|---|---|---|
Graphics Interchange Format | Image | gif | Any |
Joint Photographic Experts Group | Image | jpg, jpeg, jpe | Any |
X Bit Map | Image | xbm | Unix |
Tagged Image File Format | Image | tif, tiff | Any |
PICT | Image | pic, pict | Apple |
Rasterfile | Image | ras | Sun |
Portable Network Graphics | Image | png | Any |
Moving Pictures Expert Group | Movie | mpg, mpeg | Any |
Audio Video Interleave | Movie | avi | Microsoft |
QuickTime | Movie | qt, mov | Apple |
Windows Media Video | Movie | wmv | Microsoft |
Shockwave | Movie | dvr | Macromedia |
Real Video | Movie | ra, rm, ram | Real Networks |
DivX | Movie | div, divx, tix, mp4 | DivX |
AU | Audio | au, snd | Sun |
Waveform Audio | Audio | wav | Microsoft |
Audio Interchange File Format | Audio | aif, aiff | Apple |
Musical Instrument Digital Interface | Audio | midi, mid | Any |
PostScript | Document | ps, eps, ai | Any |
Acrobat | Document | | Any |
Animated Text:
The <marquee> Tag
behavior : scroll不断的滚动 slide滚动到一边就停止下来 alternate在页面上来回滚动
loop:滚动次数 infinite为无限次
bgcolor:背景色
height and width :高度和宽度
scrollamount :每次移动多少像素
scrolldelay :多少毫秒移动一次
链接与页面
Protocol | Server | Directory | File | |
---|---|---|---|---|
Base URL | http | / | ||
Relative URL | | | | another-doc.html |
| | | | |
Absolute URL | http | / | another-doc.html |
<a href="part-14.html" rel=next rev=prev>asd</a>
target :定义一个标识位已被定位
title :指定你所连接文档的标题
name:链接到本文档指定id名字的地方,等同于href="#idname";