Basic HTML Version

|  | Table of Contents |  | View Full Version

Page 116 - 2612 Digimind C6
P. 116

    Tick ( ) if you know this.
                               HTML is the primary building block for creating a webpage.

                              Tags that have both opening and closing tags are known as container tags.

                      NESTING OF TAGS
                      Nesting of tags means that you can place a new tag inside another tag before closing the first
                      one. These tags follow the LIFO principle, which stands for Last In, First Out. This means the tag
                      that is opened last must be closed first.

                                BASIC HTML TAGS

                      Some basic tags of HTML are given below:

                                Tags                                      Description

                                                 The <HTML> tag tells the web browser that the text contained between <HTML>
                               <HTML>
                                                 and </HTML> is a webpage and can be viewed using a web browser.

                                                 The <HEAD> tag represents the header area of the document. It contains
                               <HEAD>            information about the document title, scripts and style definitions used in
                                                 the document.

                                                 The <TITLE> tag represents the title of the document and is used inside the
                               <TITLE>           <HEAD> tag. It appears on the title bar of the browser window. If you do not
                                                 want to give title to your webpage, you can skip it.

                                                 The <BODY> tag defines the part of the HTML document that is visible in the
                                                 web browser. It contains all other tags that define the content presentation
                              <BODY>
                                                 elements such as images, lists, tables, text and links to move between the
                                                 webpages.

                                ATTRIBUTES

                      An attribute is used to define some extra features or properties of an HTML tag. All attributes
                      have two parts: name and value. The ‘name’ is the property that you want to set. The ‘value’ is
                      what you want for the respective property.

                       114  Premium Edition-VI

| 111 112 113 114 115 116 117 118 119 120 121 |