m02 un04 p04
Post on 20-Jan-2015
355 Views
Preview:
DESCRIPTION
TRANSCRIPT
Unit 4 – Text in HTML
Presentation 4
Web Programming
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
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>
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>
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>
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?
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.
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.
Assignment
1. State the difference between Abbreviations and Acronyms.
2. Write the attribute used for adding Abbreviations and Acronyms.
top related