Page 50 - ClickGPT V4.0 C-5
P. 50

The <HEAD> Tag

              The <head> tag defines the header area of your web page. The information inside the <head> tag is
              used by the browser but is not displayed on the web page. It is a container tag used in pair as <head>
              and </head>. Every web page coding must have its header tag.

              The <TITLE> Tag

              The <title> tag tells the web browser that text contained between <title> and </title> is the text that is
              not part of the web page. It will be shown on the Title Bar of your web browser. The use of <title> tag is
              not mandatory. If you do not want to give title to your web page, you can skip it. Your web browser will
              show the file name and its path as the title of your web page.

              The <BODY> Tag

              The <body> tag specifies the main content of the web page. The text and other elements contained
              between <body> and </body> tags are displayed on the web page It is a container tag.

              THE <B> Tag

              The <b> tag is used to display text in bold style. It makes the text darker and thicker than normal text so
              that it can easily catch the reader’s attention. This tag is commonly used to highlight important words
              in a sentence.

              THE <I> Tag

              The <i> tag is used to display text in italic style. Italic text appears slightly slanted and is often used for
              titles, names or special words. This tag helps to give emphasis to certain parts of the text.

              The <U> Tag

              The <u> tag is used to underline the text. When this tag is applied, a line appears below the text. It is
              useful for highlighting important words or headings.

              THE <STRONG> Tag

              The <strong> tag is used to show that the text is very important. The browser usually displays the text
              inside this tag in bold format. It also tells the reader that the content has strong importance.

              THE <EM> Tag


              The <em> tag is used to emphasize text in an HTML document. Text inside this tag is usually displayed
              in italic style by the web browser. It is used when we want to give special importance or stress to certain
              words in a sentence. The <em> tag also helps screen readers understand that the word should be
              spoken with emphasis.
              The following example shows how different text formatting tags are used to change the appearance of
              text on a web page:

              <!DOCTYPE html>

              <html>
              <head>




                 48     Premium Edition-V
   45   46   47   48   49   50   51   52   53   54   55