Recent Post

Wednesday, 8 October 2025

Chapter 6: Introduction to HTML - Answer and Questions

Chapter 6: Introduction to HTML – Answers & Questions | Computer 8th By Pratap Sanjay Sir
By Pratap Sanjay Sir

🌸 Chapter 6: Introduction to HTML – Evaluation Sheet 🌸




A. Tick (✔) the correct option

  1. Which of the following is an empty element?
    • a. <UL>
    • b. <IMG>
    • c. <Li>
  2. The bullet in an unordered list is also called a:
    • a. symbol
    • b. list marker ✔
    • c. number
  3. The correct syntax of a definition list is:
    • a. <DL><DT><DD></DL>
    • b. <DD><DT><DL></DL>
    • c. <DT><DL><DD></DL>
  4. The values of the HEIGHT and WIDTH attributes can be given in:
    • a. pixels
    • b. percentage
    • c. Both a and b ✔
  5. Which of the following is not an example of an E-mail Client program?
    • a. Microsoft Access 2016 ✔
    • b. Lotus Notes
    • c. Outlook Express

B. Fill in the blanks with the suitable words

  1. An ordered list element contains all list items preceded by a number.
  2. The list <DT> element specifies the term in a definition list.
  3. The location of an image is specified using the SRC attribute.
  4. An active link is underlined and Red in color.
  5. A hyperlink can be an image, an icon, or some text in the web page.

C. Write 'T' for True and 'F' for False statements

  1. You cannot create a table in HTML — F
  2. The anchor element is an empty element — F
  3. The BGCOLOR attribute is used to specify the colour of the border of the table — F
  4. An anchor name is case sensitive — T
  5. An E-mail Client program is not necessary — T

D. Answer the following questions

1. What are the three types of list elements? Write down their syntaxes.

Ordered List:
<ol>
  <li>Item</li>
</ol>

Unordered List:
<ul>
  <li>Item</li>
</ul>

Definition List:
<dl>
  <dt>Term</dt>
  <dd>Definition</dd>
</dl>
    

2. Give an example of how can you add an image in an HTML web page.

<img src="image.jpg" alt="Description of Image" 
width="300" height="200">
    

3. Explain the use of the ALIGN and VALIGN attributes.

The ALIGN attribute is used for horizontal alignment of content within an element, such as left, center, or right.

The VALIGN attribute is used for vertical alignment of content within a container, with values like top, middle, or bottom.

<td align="center" valign="top">Hello</td>
    

4. How can you create a table in an HTML document using the various attributes available?

<table border="1" cellpadding="5" cellspacing="2" 
bgcolor="lightblue">
  <tr>
    <th>Name</th>
    <th>Age</th>
  </tr>
  <tr>
    <td>John</td>
    <td>20</td>
  </tr>
</table>
    

Attributes explained:

  1. border – defines the width of the table border
  2. cellpadding – sets the spacing inside table cells
  3. cellspacing – sets the spacing between table cells
  4. bgcolor – specifies the background color of the table

5. What is hyperlinking? How does a hyperlink appear in a web page?

Ans: Hyperlinking is the process of connecting one web page to another using clickable links. These links usually appear as underlined blue text by default.

<a href="https://www.example.com">Click Here</a>
    

E. Definitions

  1. Numbered list: A list where each item is preceded by a number (<OL>).
  2. TYPE attribute: Specifies the numbering style (e.g., 1, A, a, I, i).
  3. Image element: Displays an image using the <IMG> tag with attributes src, alt, width, height.
  4. Table: Displays data in rows and columns using <TABLE>, <TR>, <TD>, <TH> tags.
  5. Hyperlink: A clickable text, image, or icon linking to another resource using the <A> tag.


Thank You!


🔔 Subscribe to My Channel

No comments:

"कोशिश करो तो सब कुछ हो सकता है, न करो तो कुछ नहीं हो सकता।"