UNDERSTANDING TAGS




 
 


 
 
 




Here Is A List Of Commly Used Tags For Building HTML Web Pages



 

                            <BODY>...</BODY>
                                 Usage                     Contains the contact of the document

                                        Start/End Tag          Required/Required

     **Note: There can be only one body and it must follow the head.
 

                                  <!DOCTYPE...>

                                             Usage                      Version information appears on the first line of an HTMl Document and is a Standard Generalization Markup Language (SGML) declaration rather than an element.

                                             Start/End Tag          Required/Required

                                   <H1>...</H1> through <H6>...</H6>

                                                Usage        The six headings (H1 is the upermost, or most important) are used in the BODY to structure information in hierarchical fashion.

                                               Start/End Tag          Required/Required

                                 <HEAD>...</HEAD>

                                                Usage        This is the document header, and it contains other elements that provide information to users and search engines.

                                                 Start/End Tag          Optional/Optional

                             <HTML>...</HTML>

                                                Usage        The HTML element contains the entire document.

                                               Start/End Tag          Optional/Optional

                        <HR>...</HR>

                                               Usage        Horizontal rules are used to seperate sections of a web page.

                                              Start/End Tag          Required/Illegal
 

                             <META>
                                    Usage          Provides information about the document.

                                             Start/End Tag          Required/Illegal

                             <TITLE>...</TITLE>

                                             Usage          This is the name you give your web page.  The TITLE element is located in the HEAD element and is displayed in the browser window

                                            Start/End Tag          Required/Illegal
 

                             <BLOCKQUOTE>...</BLOCKQUOTE>

                                            Usage          Used to display quotations.

                                            Start/End Tag          Required/Requiredl

                             <P>...</P>

                                            Usage          Defines a paragraph.

                                            Start/End Tag          Required/Optional

                            <SAMP>...</SAMP>

                                            Usage          Identifies sample output.

                                            Start/End Tag          Required/Required

                                 <STRONG>...</STRONG>

                                            Usage          Defines stronger emphasis.

                                           Start/End Tag          Required/Required

                             <B>...</B>

                                            Usage          Defines bold text.

                                        Start/End Tag          Required/Required
 

                                  <FONT>...</FONT>

                                            Usage          Defines the size of the text.

                                        Start/End Tag          Required/Illegal

                                         **Note:       Use the attributes, Size="...", Color="...", Face="...".

                                  <BASEFONT>...</BASEFONT>

                                            Usage          Changes the size and color of the text.

                                            Start/End Tag          Required/Required

                        **Note:      Use the attributes, Size="...", Color="...", Face="...".
 

                                  <I>...</I>

                                             Usage          Italicizes the text.

                                             Start/End Tag          Required/Required
 

                                  <SMALL>...</SMALL>

                                            Usage          Small text.

                                            Start/End Tag          Required/Required

                                  <BIG>...</BIG>

                                            Usage          Big text.

                                            Start/End Tag          Required/Required
 

                                  <OL >...</OL>

                                             Usage          Creates and ordered list.

                                            Start/End Tag          Required/Required
 

                            <UL>...</UL>

                                            Usage          Creates ans unordered list.

                                            Start/End Tag          Required/Required
 

                                  <LI>...</L2>

                                            Usage          Creates ans unordered list.

                                            Start/End Tag          Required/Required

                            <IMG>

                                            Usage          Includes an image in the document.

                                           Start/End Tag          Required/Required
 


Exercise Page

Home Page

Return to the Class Page