(IX) Solution of HTML Worksheet-1
- Answer: <HTML> tag is used to enclose the entire HTML code for a page.
- Answer: <P> tag is used to start a paragraph. ALIGN option is used with this tag.
Example, <P ALIGN=CENTER> - Answer:
(a) Paragraph
(b) Line Break
(c) Horizontal Rule - Answer:
In HTML, the tags that have both an ON and an OFF tag are called Paired tag.
Example: HTML, BODY, TITLE
In HTML, some of the tags have only an ON tag but no OFF tag are called empty tag.
Example: BR,HR,IMG - Answer:
The BACKGROUND attribute is used to set a picture as a background of a web page.
The BGCOLOR attribute is used to set the background color of a web page. - Answer: The <BODY> tag contains all the text and images that make up the web page. It also contains the HTML tags that provide the control and formatting of the web page.
- Answer: Yes, it is possible to view a HTML page stored in the hard disk of the computer.
To view - Right click on HTML Page >> Open with >> Web Browser(Chrome, Safari) - Answer: The comment is given as:
<!-- This is a comment line --> - Answer: HTML page is saved with extension dot html (.html) or dot htm (.htm).
- Answer:
<BODY BGCOLOR=Lime TEXT= Blue>