HTML The Definitive Guide (152 page)

Read HTML The Definitive Guide Online

Authors: Chuck Musciano Bill Kennedy

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

user changes the value of this element

onfocus=
applet

Specify an applet to be run when the

mouse enters this control

readonly

Prevent user modification of this

element

size=
n

Specify the number of characters to

display for this element

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 hidden element within a


name=
name

Specify the name of the parameter

that is passed to the form-processing

application for this input element

(required)

value=
string

Specify the value of this element that

is passed to the form-processing

application


Create an image input element within

a

accesskey=
char

Define the hot-key character for this

element

align=
type

Align the image to either the top,

middle, or bottom of the form

element's text

alt=
string

Provide an alternative description for

the image

border=
n

Set the pixel thickness of the border

of the image

disabled

Disable this control, making it

inactive

name=
name

Specify the name of the parameter to

be passed to the form-processing

application for this input element

(required)

notab

Specify that this element is not part of

Graphic

the tabbing order

src=
url

Specify the source URL of the image

(required)

tabindex=
n

Specify this element's position in the

tabbing order

taborder=
n

Specify this element's position in the

Graphic

tabbing order

usemap=
url

Specify the URL of a map to be used

withi this image


Create a content-protected text-input

element within a

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 to

be 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 element

onchange=
applet

Specify an applet to be run when the

user changes the value of this element

onfocus=
applet

Specify an applet to be run when the

mouse enters this element

onselect=
applet

Specify an applet to be run if the user

clicks this element

readonly

Prevent user modification of this

element

size=
n

Specify the number of characters to

display for this element

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 initial value for this

element


Create a radio-button 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

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 reset button within a


accesskey=
char

Define the hot-key character for this

element

disabled

Disable this control, making it

inactive

notab

Specify that this element is not part of

Graphic

the tabbing order

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 an alternate label for the reset

button (default is "Reset")


Create a submit button within a


accesskey=
char

Define the hot-key character for this

element

disable

Disable this control, making it

inactive

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

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 an alternate label for the

submit button, as well as the value

passed to the form-processing

application for this parameter if this

button is clicked


Create a text input element within a


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 element

onchange=
applet

Specify an applet to be run when the

user changes the value of this element

onfocus=
applet

Specify an applet to be run when the

mouse enters this element

onselect=
applet

Specify an applet to be run if the user

clicks this element

readonly

Prevent user modification of this

element

size=
n

Specify the number of characters to

display for this element

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 initial value for this

element

...

Delineate an inserted section of a

document

cite=
url

Cite a document justsifying the

insertion

datetime=
date

Specify the date and time of the

insertion


Create a "searchable" HTML

*

document

action=
url

For Internet Explorer only, provide

Graphic

the URL of the program that will

perform the searching action

class=
name

Specify a style class controlling the

appearance of this tag

dir=
dir

Specify the rendering direction for

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

right-to-left (rtl)

id=
name

Define a name for this tag that is

unique to this document

lang=
language

Specify the language used for this

tag's contents using a standard

two-character ISO language name

prompt=
string

Provide an alternate prompt for the

input field

style=
style

Specify an inline style for this tag

title=
string

Specify a title for this tag

...

The enclosed text is keyboard-like

input


Generate key information in a form

Graphic *

challenge=
string

Provide a challenge string to be

Graphic

packaged with the key

name=
name

Provide a name for the key

Graphic


Define a label for a form control

accesskey=
char

Define the hot-key character for this

label

for=
name

Specify the form element associated

with this label

onblur=
applet

Specify an applet to be run when the

mouse leaves this label

onfocus=
applet

Specify an applet to be run when the

mouse enters this label

...

Define a 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

document or layer

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

document or layer

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

...

Define a legend for a form field set

accesskey=
char

Define the hot-key character for this

legend

align=
position

Align the legend to the top,

bottom, left, or right of the

field set

  • ...

  • Delimit a list item in an ordered

    (

      ) or unordered (
        ) list type=
        format

        Set the type of this list element to the

        desired
        format
        . For

      • within
          : A (capital letters), a

          (lowercase letters), I (capital Roman

          numerals), i (lowercase Roman

          numerals), or 1 (Arabic numerals;

          default). For

        1. within
            : circle, disc (default), or

            square.

            value=
            n

            Set the number for this list item to
            n

            Define a link between this document

            and another document in the

            document

            charset=
            charset

            Specify the character set used to

            encode the target of this link

            href=
            url

            Specify the hypertext reference URL

            of the target document

            hreflang=
            url

            Specify the language used for the

            target's contents using a standard

            two-character ISO language name

    Other books

    Heading South by Dany Laferrière
    01 - Honour of the Grave by Robin D. Laws - (ebook by Undead)
    Further Adventures by Jon Stephen Fink
    Precipice by J. Robert Kinney
    These Few Precious Days by Christopher Andersen
    Games Traitors Play by Jon Stock
    Call Me! by Dani Ripper