M02 un04 p04

9
Unit 4 – Text in HTML Presentation 4 Web Programming

description

 

Transcript of M02 un04 p04

Page 1: M02 un04 p04

Unit 4 – Text in HTML

Presentation 4

Web Programming

Page 2: M02 un04 p04

Objectives

At the end of this presentation, you will be able to• Insert quotes in your Web page• Include abbreviations and acronyms in your

Web page

Page 3: M02 un04 p04

Quotations

• Quotation is a note that has to be differentiated from the other normal text in a Web page.

• Should be enclosed between <BLOCKQUOTE> and </BLOCKQUOTE> tags.

• Example:

<BLOCKQUOTE>

Education is production of knowledge

</BLOCKQUOTE>

Page 4: M02 un04 p04

Abbreviations

• Abbreviation is the short form of text that is pronounced as spelling.

• Abbreviations can be displayed using <ABBR> tag.

• The attribute used with this tag is TITLE. • Example: <ABBR TITLE=” World Wide Web”> WWW </ABBR>

Page 5: M02 un04 p04

Acronyms

• Acronyms is a short form of text that is pronounced as a word.

• Acronym can be displayed using <ACRONYM> tag.

• The attribute used with this tag is TITLE • Example: <ACRONYM TITLE=”Common Business

Oriented Language”> COBOL </ACRONYM>

Page 6: M02 un04 p04

Lab Exercise

7. Open D4_6.html in Internet Explorer.

a. View the source code in Notepad.

b. Identify the tag, which is used for create

short form of text?

c. Identify the tag, which is used for long

indent?

Page 7: M02 un04 p04

Lab Exercise

8. Write a HTML code to display the output as given in the following figure using all the tags you learnt from this unit.

Page 8: M02 un04 p04

Summary

In this presentation, you learnt the following:• The tag used to give quotations is

<BLOCKQUOTE>. • Short form of a text is pronounced as spelling,

then it is Abbreviation • Short form of a text is pronounced as a word,

then it is Acronym.

Page 9: M02 un04 p04

Assignment

1. State the difference between Abbreviations and Acronyms.

2. Write the attribute used for adding Abbreviations and Acronyms.