HTML The Definitive Guide (151 page)

Read HTML The Definitive Guide Online

Authors: Chuck Musciano Bill Kennedy

BOOK: HTML The Definitive Guide
9.78Mb size Format: txt, pdf, ePub

dir=
dir

Specify the rendering direction for

text, either left-to-right (ltr) or

right-to-left (rtl)

lang=
language

Specify the language used for this

tag's contents using a standard

two-character ISO language name

profile=
url

Provide the URL of a profile for this

document



Break the current text flow and insert

*

a horizontal rule

align=
type

Specify the rule alignment as either

left, center (default), or right

class=
name

Specify a style class controlling the

appearance of the rule

color=
color

Define the color of the rule

Graphic

id=
name

Define a name for this tag that is

unique to this document

noshade

Do not use 3D shading to render the

rule

onclick=
applet

Specify an applet to be executed

when the mouse button is clicked on

this tag

ondblclick=
applet

Specify an applet to be executed

when the mouse button is

double-clicked on this tag

onkeydown=
applet

Specify an applet to be executed

when a key is pressed down while this

tag has input focus

onkeypress=
applet

Specify an applet to be executed

when a key is pressed and released

while this tag has focus

onkeyup=
applet

Specify an applet to be executed

when a key is released while this tag

has focus

onmousedown=
applet

Specify an applet to be executed

when a mouse button is pressed down

on this tag

onmousemove=
applet

Specify an applet to be executed

when the mouse is moved over this

tag

onmouseout=
applet

Specify an applet to be executed

when the mouse out of this tag's

display area

onmouseover=
applet

Specify an applet to be executed

when the mouse moves into this tag's

display area

onmouseup=
applet

Specify an applet to be executed

when a mouse button is released

while over this tag

size=
pixels

Set the thickness of the rule to an

integer number of pixels

style=
style

Specify an inline style for this tag

title=
string

Specify a title for this tag

width=
value
or
%

Set the width of the rule to either an

integer number of pixels or a

percentage of the page width

...

Delimit the beginning and end of the

*

entire HyperText Markup Language

document

dir=
dir

Specify the rendering direction for

text, either left-to-right (ltr) or

right-to-left (rtl)

lang=
language

Specify the language used for this

tag's contents using a standard

two-character ISO language name

version=
string

Indicate the HTML version used to

create this document

...

Format the enclosed text in an
italic
typeface


Define an inline frame

*

align=
position

Set the position of the frame aligned

to the top, center, or bottom of

the surrounding text, or flush against

the left or right margins with

subsequent text flowing around the

frame

class=
name

Specify a style class controlling the

appearance of the rule

frameborder=
value

If
value
is 1, enable frame borders. If
value
is 0, disable frame borders.

height=
n

Set the height, in pixels, of the frame

id=
name

Define a name for this tag that is

unique to this document

longdesc=
url

Provide the URL of a document

describing the contents of the frame

marginheight=
n

Place
n
pixels of space above and below the frame contents

marginwidth=
n

Place
n
pixels of space to the left and right of the frame contents

name=
name

Define the name of the frame

scrolling=
type

Always add scrollbars (yes) or never

add scrollbars (no)

src=
url

Define the URL of the source

document for this frame

style=
style

Specify an inline style for this tag

title=
string

Specify a title for this tag

width=
n

Set the width, in pixels, of the frame

...

Define an inline layer

Graphic *

above=
name

Place this layer above the named

Graphic

layer

background=
url

Specify a background image for the

Graphic

layer

below=
name

Place this layer below the named

Graphic

layer

bgcolor=
color

Specify the background color for the

Graphic

layer

class=
name

Specify a style class controlling the

Graphic

appearance of this tag

clip=
edge

Define the layer's clipping region, in

Graphic

pixels. If
left
and
top
are 0, they may be omitted

left=
n

Define, in pixels, the position of the

Graphic

layer's left edge from the containing

line of text

name=
name

Provide a name for the layer

Graphic

src=
url

Supply the content of the layer from

Graphic

another document

style=
style

Specify an inline style for this tag

Graphic

top=
n

Define, in pixels, the position of the

Graphic

layer's top edge from the containing

line of text

visibility=
value

Determine whether to show the layer,

Graphic

hide the layer, or inherit the

visibility attribute from a containing

layer

width=
n

Define the width, in pixels, of the

Graphic

layer

z-index=
n

Specify the layer's position in the

Graphic

stacking order


Insert an image into the current text

flow

align=
type

Align the image to either the top,

middle, bottom (default), left,

or right of the text in the line. For

Netscape Navigator, additionally to

the absmiddle, baseline, or

absbottom of the text.

alt=
text

Provide alternative text for

non-image-capable browsers

border=
n

Set the pixel thickness of the border

around images contained within

hyperlinks

controls

Add playback controls for embedded

Graphic

video clips

dynsrc=
url

Specify the URL of a video clip to be

Graphic

displayed

height=
n

Specify the height of the image in

scan lines

hspace=
n

Specify the space, in pixels, to be

added to the left and right of the

image

ismap

Indicate that the image is

mouse-selectable when used within

an tag

longdesc=
url

Provide the URL of a document

describing the image

loop=
value

Set the number of times to play the

Graphic

video;
value
may be an integer or the value infinite

lowsrc=
url

Specify a low-resolution image to be

Graphic

loaded by the browser first, followed

by the image specified by the src

attribute

name=
name

Provide a name for the image for use

Graphic

by JavaScript

onabort=
applet

Provide an applet to be run if the

Graphic

loading of the image is aborted

onerror=
applet

Provide an applet to be run if the

Graphic

loading of the image is unsuccessful

onload=
applet

Provide an applet to be run if the

Graphic

loading of the image is successful

src=
url

Specify the source URL of the image

to be displayed (required)

start=
start

Specify when to play the video clip,

Graphic

either fileopen or mouseover

usemap=
url

Specify the map of coordinates and

links that define the hypertext links

within this image

vspace=
n

Specify the vertical space, in pixels,

added at the top and bottom of the

image

width=
n

Specify the width of the image in

pixels


Create a pushbutton element within a


accesskey=
char

Define the hot-key character for this

element

disabled

Disable this control, making it

inactive

name=
name

Specify the name of the parameter to

be passed to the form-processing

application if the input element is

selected (required)

notab

Specify that this element is not part of

Graphic

the tabbing order

onblur=
applet

Specify an applet to be run when the

mouse leaves this control

onfocus=
applet

Specify an applet to be run when the

mouse enters this control

tabindex=
n

Specify this element's position in the

tabbing order

taborder=
n

Specify this element's position in the

Graphic

tabbing order

value=
string

Specify the value of the parameter

sent to the form-processing

application if this form element is

selected (required)


Create a checkbox input element

within a

accesskey=
char

Define the hot-key character for this

element

checked

Mark the element as initially selected

disabled

Disable this control, making it

inactive

name=
string

Specify the name of the parameter to

be passed to the form-processing

application if the input element is

selected (required)

notab

Specify that this element is not part of

Graphic

the tabbing order

readonly

Prevent user modification of this

element

tabindex=
n

Specify this element's position in the

tabbing order

taborder=
n

Specifu this element's position in the

Graphic

tabbing order

value=
string

Specify the value of the parameter

sent to the form-processing

application if this form element is

selected (required)


Create a file-selection element within

a

accept=
list

Specify list of MIME types that can

accepted by this element

accesskey=
char

Define the hot-key character for this

element

disabled

Disable this control, making it

inactive

maxlength=
n

Specify the maximum number of

characters to accept for this element

name=
name

Specify the name of the parameter

that is passed to the form-processing

application for this input element

(required)

notab

Specify that this element is not part of

Graphic

the tabbing order

onblur=
applet

Specify an applet to be run when the

mouse leaves this control

onchange=
applet

Specify an applet to be run when the

Other books

The Warrior's Wife by Denise Domning
Crash by J.G. Ballard
Accidents Happen by Louise Millar
Masterpiece by Broach, Elise
Pain by Keith Wailoo
The Flame Tree by Richard Lewis
Make Me Love You by Johanna Lindsey
Divine by Teschner, B.L.
Red House Blues by sallie tierney