Unit 4 – Text in HTML Presentation   1 Web Programming
Revision Name the attribute used to change the alignment of a paragraph? Write the use of  <BR>  tag? Give the purpose of adding comments? Name the tag used to scroll a text? Write the use of character entities? Give the tag and attribute used to add a picture to the background of the browser window?
Objectives At the end of this presentation, you will be able to Make the text bold, italic and underlined
Introduction Formatting a text refers to modifying the appearance of a text. Makes it attractive  Presents it in a more readable form. After Formatting Before Formatting
Hands-On! Open the HTML file  BIU.HTML  in  C:\HTML\Unit4\Hands On  Folder The output is shown below: Text made Bold Text made Italic Text Underlined
Bold <B> tag is used to make a text bold. Enclosed between <B> and </B> tags.  Example: <B>  Who is the father of Computer?  </B>
Italic <I> tag is used to make the text slanted to the right. Enclosed between <I> and </I> tags. Example: <I> a) Charles Babbage </I>
Underline <U>  tag is used to make the text underline. Enclosed between  <U>  and  </U>  tags.  Example: <U>  General Knowledge  </U>
Activity 2.4.1 Create a web page that explains the <B>, <I> and <U> tags as shown in Figure.  Save the HTML file as Activity1.HTML in C:\HTML\Unit4\Activity folder.
Lab Exercise Open D4_1.html in Internet Explorer.   View the Source code in Notepad. Identify the tag, which is used for displaying the output in bold and underline. Identify the tag, which is used for the text  Micro Computers. Identify the <U> tag in the source code of D4_1.html.  Change the style of the  Mainframe Computers t o bold, italic and underline.
Summary In this presentation, you learnt the following: The  <B>  tag is used to make a text bold.  The  <I>  tag is used for   italicising the text. The  <U>  tag is used for underlining a text.
Assignment Name the tags used to make a text bold, italic and underlined.

M02 un04 p01

  • 1.
    Unit 4 –Text in HTML Presentation 1 Web Programming
  • 2.
    Revision Name theattribute used to change the alignment of a paragraph? Write the use of <BR> tag? Give the purpose of adding comments? Name the tag used to scroll a text? Write the use of character entities? Give the tag and attribute used to add a picture to the background of the browser window?
  • 3.
    Objectives At theend of this presentation, you will be able to Make the text bold, italic and underlined
  • 4.
    Introduction Formatting atext refers to modifying the appearance of a text. Makes it attractive Presents it in a more readable form. After Formatting Before Formatting
  • 5.
    Hands-On! Open theHTML file BIU.HTML in C:\HTML\Unit4\Hands On Folder The output is shown below: Text made Bold Text made Italic Text Underlined
  • 6.
    Bold <B> tagis used to make a text bold. Enclosed between <B> and </B> tags. Example: <B> Who is the father of Computer? </B>
  • 7.
    Italic <I> tagis used to make the text slanted to the right. Enclosed between <I> and </I> tags. Example: <I> a) Charles Babbage </I>
  • 8.
    Underline <U> tag is used to make the text underline. Enclosed between <U> and </U> tags. Example: <U> General Knowledge </U>
  • 9.
    Activity 2.4.1 Createa web page that explains the <B>, <I> and <U> tags as shown in Figure. Save the HTML file as Activity1.HTML in C:\HTML\Unit4\Activity folder.
  • 10.
    Lab Exercise OpenD4_1.html in Internet Explorer. View the Source code in Notepad. Identify the tag, which is used for displaying the output in bold and underline. Identify the tag, which is used for the text Micro Computers. Identify the <U> tag in the source code of D4_1.html. Change the style of the Mainframe Computers t o bold, italic and underline.
  • 11.
    Summary In thispresentation, you learnt the following: The <B> tag is used to make a text bold. The <I> tag is used for italicising the text. The <U> tag is used for underlining a text.
  • 12.
    Assignment Name thetags used to make a text bold, italic and underlined.