Page 80 - CA 165 ver 1.0 Class 10
P. 80
B. Long answer type questions.
1. What is HTML? Give its two features. Discuss the prerequisites to work with HTML.
Ans. HTML is a markup language which is used to mark the contents that helps in designing web pages. It
stands for Hypertext Markup Language. Its two features are:
HTML is a platform independent language, i.e. HTML document can run on any type of operating
system or on any type of computer architecture like Macintosh computer, IBM computer, etc.
HTML allows to format text, graphics, sound and video and save in an ASCll (American Standard Code
of Information Interchange) code.
To work with HTML, the user needs: Text Editor and Web Browser.
2. Discuss the structure of an HTML document.
Ans. The basic structure of an HTML document can be classified into different elements or sections.
<HTML>
<HEAD>
<TITLE>
........................
</TITLE>
</HEAD>
<BODY>
........................
........................
</BODY>
Footer
</HTML>
The entire document is written inside <HTML>……</HTML> tags. It marks the beginning and ending
of an HTML coded document.
The head of an HTML document specifies information about the document. This section contains the
‘Title’ tag inside it. The ‘Head’ tag is written inside the <HTML> section.
Title section displays the title of the web page on the Title bar.
The Body section (pair of <BODY> ... </BODY> tags) specifies the main contents of a document.
The bottom part of the body of an HTML document is footer. These are generally appended at the end
of the body of a web page. It is not mandatory to apply Footer in the HTML document.
3. Explain all the link related attributes used with the <body> tag, using a suitable example.
Ans. In <BODY> tag the following link attributes can be used: LINK, ALINK and VLINK.
LINK which has not yet been visited.
ALINK or Active Link which is in current use in a web page.
VLINK or Visited Link which was visited last.
Example: <BODY BGCOLOR = “Aqua” TEXT = “Red” LINK = “Yellow” VLINK = “Maroon” ALINK = “Green” >
LINK, ALINK and VLINK is not supported in HTML5 web version.
78 Touchpad Computer Applications-X

