Chapter 13 - HTML Tag Summary Book: "Creating Web Pages With HTML - Simplified - 2nd Edition" IDG Book's Bestselling 3-D Visual Series Summary Pages 214-217 November 21, 2002 =========================================================================== TAG/ATTRIBUTE DESCRIPTION PAGE =========================================================================== Basic HTML Tags Adds a comment 43 Body Identifies the main content of a Web page 31 BR Starts a new line 38 H1 to H7 Creates headings 40 Align Aligns heading 41 Head Contains information about a Web page 30 HTML Identifies a document as an HTML document 30 META Provides information about a Web page 198 Content Specifies keywords or a summary for a Web page 198 Name Adds information that helps search tools 198 catalog and summarize a Web page P Starts a new paragraph 36 Align Aligns a paragraph 37 Title Creates a title for a Web page 31 ___________________________________________________________________________ Format Text B Bolds text 48 BaseFont Changes the appearance of all text 54 Size Changes the size of all text 54 BlockQuote Separates a section of text from the main text 59 Body BGColor Changes the background color of a Web page 58 Text Changes the color of all text 56 Center Centers text 39 Font Changes the appearance of text 52,55,57 Color Changes the Color of text 57 Face Changes the Font of textChanges the of text 52 Size Changes the Size of text 55 I Italicizes text 48 Pre Retains the spacing of text you type 42 Strike Places a line through text 49 Sub Places text slightly below the main text 50 Sup Places text slightly above the main text 50 TT Creates typewriter text 51 U Underlines text 49 ________________________________________________________________________ Forms Form Creates a form 129 Action Identifies the location of a CGI script for a form 129 Method Specifies how information from a form transfers 129 to a Web server Input Creates an item of a form 130,134,136,138,139 Checked Selects a radio button or check box automatically 134,137 MaxLength Specifies the maximum number of characters 131 for a text box Name Identifies an item on a form to a Web server 130,134,136 Size Specifies the size of a text box 131 Type Specifies the type of an item on a form 130,134,136,138,139 Value Identifies an item on a form 134,136,138,139 TextArea Creates a large text area 132 Cols Specifies a width for a large text area 133 Name Identifies a large text area to a Web server 132 Rows Specifies a height for a large text area 132 Wrap Wraps text within a large text area 133 ___________________________________________________________________________ Frames A HREF Specifies the location of a linked Web page 168 to appear in a frame Target Specifies the frame where a linked Web page 169 will appear Frame Specifies the information for one frame 167 Name Names a frame 167 SRC Specifies the location of a Web page 167 that will appear in a frame FrameSet Specifies the structure for frames 166 Cols Creates frames in columns 166 Rows Creates frames in rows 166 ___________________________________________________________________________ Image Maps Area Specifies the information for one image area 162 Coords Specifies all the coordinates for one image area 162 HREF Specifies the location of a Web page 163 linked to an image area Shape Specifies the shape of one image area 162 Img Adds an image 70 UseMap Identifies the image map for an image 161 Map Creates an image map 161 Name Names an image map 161 ___________________________________________________________________________ Images Body Background Adds a background image to a Web page 80 BR Creates a line break Clear Stops text from wrapping around an image 77 Center Centers an image 72 HR Adds a horizontal rule 82 Align Aligns a horizontal rule 85 Size Changes the thickness of a horizontal rule 83 Width Changes the width of a horizontal rule 84 IMG Adds an image 70 Align Aligns an image with text or wraps text 75,76 around an image Alt Displays alternative text when an image 74 does not appear Border Adds a border to an image 73 Height Specifies the height of an image 90 HSpace Adds space to the left and right sides of an image 78 SRC Specifies the location of an image 70 VSpace Adds space above and below an image 79 Width Specifies the width of an image 90 ___________________________________________________________________________ Java Applets Applet Adds a Java applet 154 Code Specifies the location of a Java applet 154 Height Specifies the height of a Java applet 154 Width Specifies the width of a Java applet 154 ___________________________________________________________________________ Java Script NoScript Displays alternative text when JavaScript 159 does not run Script Adds JavaScript to a Web page 157 Type Identifies a script as JavaScript 157 ___________________________________________________________________________ Links A Creates a link 102,103,104,106,108 HREF Specifies the location of a linked Web page 102,103,106,108 or other item Name Names a Web page area displayed by selecting a link 104 Body Link Changes the color of an unvisited link 110 VLink Changes the color of a visited link 111 ___________________________________________________________________________ Lists DD Identifies a definition in a list 63 DL Creates a list of terms with definitions 63 DT Identifies a term in a list 63 LI Identifies an item in an ordered or unordered list 60,62 OL Creates an ordered list 60 Start Specifies a starting number 61 Type Specifies a number style 61 UL Creates an unordered list 62 ___________________________________________________________________________ Sounds & Videos A HREF Specifies the location of a linked sound or video 144,148 Embed Adds a video to a Web page 150 AutoStart Plays a video automatically 151 Height Specifies the height of a video 150 Loop Plays a video continuously 151 SRC Specifies the location of a video 150 Width Specifies the width of a video 150 ___________________________________________________________________________ Style Sheets Class Divides elements that use the same tag into groups 177 Link Links a Web page to a style sheet stored 175 in a separate document HREF Specifies the locatoon of a style sheet stored 175 in a separate document Rel Specifies a link to a style sheet 175 Type Specifies the format of a style sheet 175 Style Creates a style sheet 174 ___________________________________________________________________________ Style Sheet Characteristics Background Specifies a background color or image for elements 188 Color Specifies a color for text 186 Font-Family Specifies a font for text 182 Font-Size Specifies a font size for text 184 Font-Style Italicizes text 181 Font-Weight Bolds text 180 Height Specifies a height for elements 187 Text-Align Aligns text 179 Width Specifies a width for elements 187 ___________________________________________________________________________ Tables Caption Adds a caption to a table 121 Center Centers a table 119 Table Creates a table 116 Border Adds a border to a table 120 TD Creates a data cell 117 ColSpan Combines two or more data cells across a column 122 RowSpan Combines two or more data cells down a row 123 TH Creates a header cell 117 ColSpan Combines two or more header cells across a column 122 RowSpan Combines two or more header cells down a row 123 TR Creates a row in a table 116 Align Horizontally aligns data in a table 124 VAlign Vertically aligns data in a table 125 ___________________________________________________________________________ ===========================================================================