HSSLiVE XII CA Chapter - 4 Web Technology Joy John
HSSLiVE XII CA Chapter - 4 Web Technology Joy John
Chapter 4
Web Technology
2
Joy John’s CA capsules
Computer Applications (Commerce) – XII Chapter 4
HTML document is a text file, made up of tags and attributes which work together to decide
how the contents of the web page should be displayed on the browser. When an HTML
document is opened by a browser, what we get is a web page.
HTML tags
Tags are the commands used in the HTML document that tell web browsers how to format
and organise web pages to show the contents. Most tags are used in pairs - an opening tag
and a closing tag. Eg: <HTML> and </HTML>. Tags that require opening and closing tags are
known as container tags. Tags that do not require closing tag are known as empty tags. Eg:
<BR>, <IMG>
Attributes
Attributes are certain parameters frequently included within the opening tag to provide
additional information. For example, BGCOLOR is an attribute of <BODY> tag which provides
a specified colour to the background of the web page.
3
Joy John’s CA capsules
Computer Applications (Commerce) – XII Chapter 4
Tags Use
<B> and <STRONG> To make the text bold face.
<I> and <EM> To make the text italics or emphasis.
<U> To underline the text
<S> and <STRIKE> To strike through the text
<BIG> To make the text big sized
<SMALL> To make the text small sized
<SUB> To make the text subscripted
<SUP> To make the text superscripted
<Q> To enclose the text in “double quotes”
<BLOCKQUOTE> To indent the text
<PRE> tag
It is used to turn off the automatic formatting of the text applied by the browser. It
tells the browser that the enclosed text is preformatted and should be displayed in its
original form.
<ADDRESS> tag
The content of this tag can include name, phone numbers, PIN numbers, e-mail
addresses, etc. Most of the browsers display the texts in italics.
4
Joy John’s CA capsules
Computer Applications (Commerce) – XII Chapter 4
5
Joy John’s CA capsules
Computer Applications (Commerce) – XII Chapter 4
In HTML, the symbols like <, >, &, etc. have special
meaning and cannot be used in the HTML documents as
part of the text content. So, when we want to display these
symbols as part of the text in the web page, we must use
HTML entities. Table shows a list of a few special
characters and their equivalent entities.
6
Joy John’s CA capsules
Computer Applications (Commerce) – XII Chapter 4
7
Joy John’s CA capsules