Вы находитесь на странице: 1из 6

HTML Document Syntax <HTML></HTML>: Attributes: VERSION HTML version Document Head Syntax <HEAD></HEAD>: Attributes: PROFILE Dictionary

of meta info Document Body Syntax <BODY></BODY>: Attributes: BACKGROUND Background image for document BGCOLOR Background color for document TEXT Text color for document LINK Link color for document VLINK Visited link color for document ALINK Active link color for document Client-side Script Syntax <SCRIPT>...</SCRIPT>: Attributes: LANGUAGE Scripting language name SRC External script location CHARSET Character encoding of external script Paragraph Syntax <P>...</P>: Attributes: ALIGN Formating Tags: Tag Name Bold Text Italic Text Emphasis Underlined Text Strike-through Text Comment Text Superscript Subscript Centered Block Line Break

[left | center | right | justify] (Horizontal alignment) Syntax <B>...</B> <I>...</I> <EM>...</EM> <U>...</U> <S>...</S> <!--Comment--> <SUP>...</SUP> <SUB>...</SUB> <CENTER>...</CENTER> <BR>

Font Change Syntax <FONT>...</FONT>: Attributes: SIZE Font size adjustment COLOR Font color adjustment FACE Font face adjustment Horizontal Rule Syntax <HR>: Attributes: ALIGN NOSHADE SIZE WIDTH

[left | center | right] (Horizontal alignment) Solid line Line height Line width

Heading Syntax <H1>...</H1> to <H6> </H6>: Attributes: ALIGN [left | center | right | justify] (Horizontal alignment) Unordered List Syntax <UL>...</UL>: Attributes: TYPE COMPACT Ordered List Syntax <OL>...</OL>: Attributes: TYPE START COMPACT Definition List Syntax <DL>...</DL>: Attributes: ID TITLE COMPACT

[disc | square | circle] (Bullet style) Compact display

[1 | a | A | i | I] (Numbering style) Starting number Compact display

Uniquely identifies an element within a document Provides a title for an element and is commonly implemented as a "tool tip" Compact display

Definition Term Syntax <DT>...</DT>: Attributes: ID Uniquely identifies an element within a document TITLE Provides a title for an element and is commonly implemented as a "tool tip"

Anchor Syntax <A>...</A>: Attributes: HREF NAME TYPE TARGET SHAPE COORDS

Hypertext reference Named link destination Content-type of link Frame to render link in [rect | circle | poly | default] (Client-side image map) Client-side image map

Frameset Syntax <FRAMESET>...</FRAMESET>: Attributes: ID Uniquely identifies an element within a document TITLE Provides a title for an element and is commonly implemented as a "tool tip" ROWS Row lengths COLS Column lengths Frame Syntax <FRAME>: Attributes: ID TITLE NAME SRC LONGDESC FRAMEBORDER MARGINWIDTH MARGINHEIGHT NORESIZE SCROLLING

Uniquely identifies an element within a document Provides a title for an element and is commonly implemented as a "tool tip" Name of frame Content of frame Long description of frame [1 | 0] (Frame border) Margin width Margin height Disallow frame resizing [yes | no | auto] (Ability to scroll)

Table Syntax <TABLE>...</TABLE>: Attributes: BORDERCOLOR Sets the colour of the border WIDTH Table width BORDER Border width CELLSPACING Spacing between cells CELLPADDING Spacing within cells ALIGN [left | center | right] (Table alignment) BGCOLOR Table background color

Table Row Syntax <TR>...</TR>: Attributes: ALIGN VALIGN BGCOLOR Table Header Cell Syntax <TH>...</TH>: Attributes: ROWSPAN COLSPAN HEADERS ALIGN VALIGN WIDTH HEIGHT NOWRAP BGCOLOR Table Data Cell Syntax <TD>...</TD>: Attributes: ROWSPAN COLSPAN ALIGN VALIGN WIDTH HEIGHT NOWRAP BGCOLOR Inline Image Syntax <IMG>: Attributes: SRC ALT LONGDESC WIDTH HEIGHT USEMAP ISMAP

[left | center | right | justify | char] (Horizontal alignment of cells in group [top | middle | bottom | baseline] (Vertical alignment of cells in group) Row background color

Rows spanned by the cell Columns spanned by the cell List of header cells for current cell [left | center | right | justify | char] (Horizontal alignment) [top | middle | bottom | baseline] (Vertical alignment) Cell width Cell height Suppress word wrap Cell background color

Rows spanned by the cell Columns spanned by the cell [left | center | right | justify | char] (Horizontal alignment) [top | middle | bottom | baseline] (Vertical alignment) Cell width Cell height Suppress word wrap Cell background color

Location of image Alternate text Link to long description Image width Image height Client-side image map Server-side image map

ALIGN BORDER HSPACE VSPACE

[top|middle|bottom|left|right] (Image alignment) Link border width Horizontal gutter Vertical gutter

Interactive Form Syntax <FORM>...</FORM>: Attributes: ID Uniquely identifies an element within a document TITLE Provides a title for an element and is commonly implemented as a "tool tip" ACTION Form handler METHOD [get | post] (HTTP method for submitting form) ENCTYPE Content type to submit form as TARGET Frame to render form result in Form Input Syntax <INPUT>: Attributes: ID TITLE TYPE NAME VALUE CHECKED SIZE MAXLENGTH SRC ALT ALIGN DISABLED READONLY ACCEPT ACCESSKEY TABINDEX

Uniquely identifies an element within a document Provides a title for an element and is commonly implemented as a "tool tip" =[text | password | checkbox | radio | submit | reset | file | hidden | image | button] (type of input) Key in submitted form Value of input Check radio button or checkbox Suggested number of characters for text input Maximum number of characters for text input Source for image Alternate text for image input [top | middle | bottom | left | right] (Alignment of image input) Disable element Prevent changes Media types for file upload Shortcut key Position in tabbing order

Option Selector Syntax <SELECT>...</SELECT>: Attributes: NAME Key in submitted form MULTIPLE Allow multiple selections SIZE Number of visible options DISABLED Disable element TABINDEX Position in tabbing order

Menu Option Syntax <OPTION>...</OPTION>: Attributes: VALUE Value of option SELECTED Choice initially selected Multi-line Text Input Syntax <TEXTAREA>...</TEXTAREA>: Attributes: NAME Key in submitted form ROWS Number of rows COLS Number of columns DISABLED Disable element READONLY Prevent changes ACCESSKEY Shortcut key TABINDEX Position in tabbing order Generic Block-level Container Syntax <DIV>...</DIV>: Attributes: ALIGN [left | center | right | justify] (Horizontal alignment) Generic Inline Container Syntax <SPAN>...</SPAN> Metadata Syntax <META>: Attributes: NAME HTTP-EQUIV CONTENT SCHEME

Property name HTTP response header name Associated data Form of data

Вам также может понравиться