Class 6th computer HTML Chap 7 Q & A



A. Tick (✔) the correct option

1. HTML is used to create:
✔ Web pages


2. In which software can you view the output of an HTML document?
✔ Web browser


3. Which is the root element of an HTML document?
✔ <html>


4. Which tag contains the main contents of the HTML document?
✔ <body>


5. Which tag is used to display a subscript?
✔ <sub>





B. Fill in the blanks

1. The <title> tag is enclosed within the header section of the HTML document.


2. Images can be added using the background attribute in body tag.


3. The HTML files are saved with .html file extension.


4. Attributes are the sub elements or features of the tags that give additional functionality to the tags.


5. The <sup> tag is used to format the text as superscript.





C. Write T or F

1. The term ‘HTML’ stands for High Textual Markup Language.
False


2. You can create and save HTML documents in a text editor like Notepad.
True


3. The ‘bgcolor’ attribute of the <body> tag helps you to add a background image.
False


4. The <h6> tag creates the largest level of headings on the web page.
False


5. The <p> tag is used to create a paragraph on the web page.
True






D. Give your answer in one word

1. Which tag helps you to create headings on the web page?
<h1>


2. Which tag helps you to create paragraphs on the web page?
<p>


3. Which tag helps you to insert a line break on the web page?
<br>


4. Write the tag with its attribute to insert a background image.
<body background="image.jpg">


5. Which tag helps you to format the text as subscript?
<sub>






E. Answer the following questions

1. What is HTML?
HTML (Hyper Text Markup Language) is a language used to create web pages.


2. Explain the difference between container and empty tags with examples.
Container tags have both opening and closing tags.
Example: <p>Paragraph</p>



Empty tags do not have a closing tag.
Example: <br>

3. Name the tags that you need to create a basic HTML document.
<html>, <head>, <title>, <body>


4. Define <body> tag.
The <body> tag contains all the visible contents of the web page such as text, images, headings and links.



5 How will you create headings on a web page?
Headings are created using <h1> to <h6> tags.
Example: <h1>Heading</h1>


6 How will you insert an image to the background of an HTML document?
By using the background attribute in the <body> tag.
Example: <body background="image.jpg">

---


Post a Comment