(IX) Solution of HTML Worksheet-1

  1. Answer: <HTML> tag is used to enclose the entire HTML code for a page.
  2. Answer: <P> tag is used to start a paragraph. ALIGN option is used with this tag. 
    Example, <P ALIGN=CENTER>
  3. Answer:
    (a) Paragraph
    (b) Line Break
    (c) Horizontal Rule
  4. 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
  5. 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.
  6. 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.
  7. 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)
  8. Answer: The comment is given as:
    <!-- This is a comment line -->
  9. Answer: HTML page is saved with extension dot html (.html) or dot htm (.htm).
  10. Answer: 
    <BODY BGCOLOR=Lime TEXT= Blue>