html标签2【web流程起始步】

规则 图像 多媒体

<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支持

Table 5-1. Common multimedia formats and respective filename extensions

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

pdf

Any

Animated Text:

The <marquee> Tag

behavior : scroll不断的滚动  slide滚动到一边就停止下来 alternate在页面上来回滚动

loop:滚动次数 infinite为无限次

bgcolor:背景色

 height and width :高度和宽度

scrollamount :每次移动多少像素

scrolldelay :多少毫秒移动一次

链接与页面

Table 6-2. Forming an absolute URL
 

Protocol

Server

Directory

File

Base URL

http

www.kumquat.com

/

 

Relative URL

another-doc.html

Absolute URL

http

www.kumquat.com

/

another-doc.html

<a href="part-14.html" rel=next rev=prev>asd</a>

target :定义一个标识位已被定位


title :指定你所连接文档的标题

name:链接到本文档指定id名字的地方,等同于href="#idname";

评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

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

抵扣说明:

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

余额充值