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)

Create successful ePaper yourself

Turn your PDF publications into a flip-book with our unique Google optimized e-Paper software.

APP 20 Appendix B HTML Quick Reference<br />

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

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

charoff=value<br />

valign=position<br />

….<br />

bgcolor=color<br />

colspan=value<br />

rowspan=value<br />

width=n or %<br />

headers=idrefs<br />

abbr=text<br />

scope=option<br />

align=position<br />

char=character<br />

charoff=value<br />

valign=position<br />

….<br />

cols=value<br />

name=data<br />

rows=value<br />

disabled<br />

readonly<br />

tabindex=value<br />

….<br />

align=position<br />

Description<br />

Specifies a number of characters to offset data aligned with the<br />

character specified in the char property<br />

Sets vertical alignment of cells in a group (top, middle, bottom,<br />

baseline)<br />

Defines a data cell in a table; contents are left-aligned <strong>and</strong><br />

normal text by default<br />

Defines the background color for the cell<br />

Defines the number of adjacent columns spanned by the cell<br />

Defines the number of adjacent rows spanned by the cell<br />

Sets the width of the cell in either pixels or a percentage of the<br />

whole table width<br />

Defines the list of header cells for the current cell<br />

Provides an abbreviated version of the cell’s contents that<br />

browsers can use if space is limited<br />

Specifies cells for which the element defines header cells (row,<br />

col, rowgroup, colgroup)<br />

Specifies horizontal alignment (left, center, right, justify, char)<br />

Specifies a character on which to align column values (for<br />

example, a period is used to align monetary values)<br />

Specifies a number of characters to offset data aligned with the<br />

character specified in the char property<br />

Sets vertical alignment of cells in the group (top, middle, bottom,<br />

baseline)<br />

Creates a multiline text input area within a form<br />

Defines the number of columns in the text input area<br />

Assigns a name to the text area<br />

Defines the number of rows in the text input area<br />

Disables the element<br />

Prevents the user from editing content in the text area<br />

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

element<br />

Identifies <strong>and</strong> groups rows into a table footer<br />

Specifies horizontal alignment (left, center, right, justify, char)

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

Saved successfully!

Ooh no, something went wrong!