24.08.2016 Views

(Shelly Cashman Series) Gary B. Shelly, H. Albert Napier, Ollie N. Rivers-Web design_ introductory concepts and techniques -Cengage Learning (2008)

You also want an ePaper? Increase the reach of your titles

YUMPU automatically turns print PDFs into web optimized ePapers that Google loves.

HTML Tags <strong>and</strong> Attributes APP 15<br />

HTML Tags <strong>and</strong> Attributes (continued)<br />

HTML Tag <strong>and</strong> Attributes<br />

….<br />

alt=text<br />

checked<br />

disabled<br />

maxlength=value<br />

name=text<br />

readonly<br />

size=value<br />

src=url<br />

tabindex=value<br />

type=type<br />

usemap=url<br />

value=data<br />

….<br />

cite=url<br />

datetime=datetime<br />

….<br />

Description<br />

Defines controls used in forms<br />

Provides a short description of the control or image button; for<br />

browsers that do not support inline images<br />

Sets option buttons <strong>and</strong> check boxes to the checked state<br />

Disables the control<br />

Sets a value for the maximum number of characters allowed as<br />

input for a text or password control<br />

Assigns a name to the control<br />

Prevents changes to the control<br />

Sets the initial size of the control to a value in characters<br />

Identifies the location of the image if the control is set to<br />

an image<br />

Specifies the tab order between elements in the form, with 1 as<br />

the first element<br />

Defines the type of control (text, password, check box, radio,<br />

submit, reset, file, hidden, image, button)<br />

Associates an image map as defined by the element<br />

Sets the initial value of the control<br />

Identifies <strong>and</strong> displays text as having been inserted in the document<br />

in relation to a previous version<br />

Specifies the URL of a document that has more information on<br />

the inserted text<br />

Date <strong>and</strong> time of a change<br />

Sets enclosed text to display as keyboard-like input<br />

No attributes<br />

….<br />

for=data<br />

….<br />

Creates a label for a form control<br />

Indicates the name or ID of the element to which the label is<br />

applied<br />

Assigns a caption to a fieldset element, as defined by the<br />

tags<br />

No attributes

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!