Basic HTML Version

|  | Table of Contents |  | View Full Version

Page 119 - 2612 Digimind C6
P. 119

    To view a webpage in a web browser: Open the folder in which you have saved the HTML document.
                     Locate the file and double-click it. The webpage opens in your default web browser window.

                          PURE       On August 06, 1991, the first ever website named info.cern.ch was published by
                          FACT       Tim Berners-Lee at CERN in Switzerland.

                     Now that you know how to create an HTML document and view it in the browser, let us explore
                     some of the tags that can be used to align and style the page content in the body section.

                               <P> TAG

                     <P> tag is used to insert a paragraph in an HTML document. A paragraph begins with the <P> tag and

                     ends with the </P> tag. The browser automatically adds a vertical space before and after each <P> tag.

                               <BR> TAG

                     By default, all the text we type in an HTML document appears in one line. We can insert a line
                     break to shift the text to go to a new line. The <BR> tag is used to insert a line break in an HTML
                     document. <BR> tag is an empty tag and does not require a corresponding closing tag.

                                                                                                Learn HTML5 and CSS3  117

| 114 115 116 117 118 119 120 121 122 123 124 |