• Like
M02 un04 p01
Upcoming SlideShare
Loading in...5
×

Thanks for flagging this SlideShare!

Oops! An error has occurred.

M02 un04 p01

  • 136 views
Published

 

Published in Technology
  • Full Name Full Name Comment goes here.
    Are you sure you want to
    Your message goes here
    Be the first to comment
    Be the first to like this
No Downloads

Views

Total Views
136
On SlideShare
0
From Embeds
0
Number of Embeds
0

Actions

Shares
Downloads
3
Comments
0
Likes
0

Embeds 0

No embeds

Report content

Flagged as inappropriate Flag as inappropriate
Flag as inappropriate

Select your reason for flagging this presentation as inappropriate.

Cancel
    No notes for slide

Transcript

  • 1. Unit 4 – Text in HTML Presentation 1 Web Programming
  • 2. 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?
  • 3. Objectives
    • At the end of this presentation, you will be able
    • to
    • Make the text bold, italic and underlined
  • 4. 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
  • 5. Hands-On!
    • Open the HTML file BIU.HTML in C:HTMLUnit4Hands On Folder
    • The output is shown below:
    Text made Bold Text made Italic Text Underlined
  • 6. 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>
  • 7. 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>
  • 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
    • 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:HTMLUnit4Activity folder.
  • 10. 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.
  • 11. 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.
  • 12. Assignment
    • Name the tags used to make a text bold, italic and underlined.