Class 10 HTML – I Questions and Answers (Q1–Q37) – PDF Download | MasterG

🖥️ Class 10 HTML – I Questions and Answers (Sumita Arora)

📘 Subject: Computer Applications
📚 Chapter: 3 – HTML – I
🎓 Class: 10 (CBSE Board)
✍️ Prepared by: MasterG


Class 10 HTML – I Questions and Answers (Sumita Arora) Question Answer Solution

1. HTML stands for:

Answer: HyperText Markup Language


2. What do you understand by ‘Tag’?

Answer: A tag is a command in HTML used to define the structure and format of web elements such as headings, paragraphs, links, and images. Tags are enclosed within angle brackets (e.g., ).


3. What is an attribute in HTML?

Answer: An attribute provides additional information about an HTML element. It is included inside the opening tag and is written in name-value pairs like name="value". Example: <body bgcolor="yellow">.


4. Define the tag <HTML>.

Answer: The <HTML> tag is the root tag of an HTML document. It defines the beginning and end of an HTML document.


5. HR tag is used for:

Answer: The <HR> (Horizontal Rule) tag is used to insert a horizontal line across the webpage, typically to separate sections of content.


6. <TITLE> tag is used to define:

Answer: The <TITLE> tag defines the title of the HTML document. The content inside this tag is shown in the browser’s title bar or tab.


7. What is the basic structure of an HTML File?

Answer:

<HTML>
  <HEAD>
    <TITLE>Page Title</TITLE>
  </HEAD>
  <BODY>
    Page content goes here
  </BODY>
</HTML>

8. Face attribute is used with which tag and for what?

Answer: The face attribute is used with the <FONT> tag to specify the font style of the text. Example: <font face="Arial">.


9. To align multiple lines of text we use:

Answer: (c) Align


10. What is the use of ‘size’ in <BASEFONT> tag?

Answer: The size attribute in the <BASEFONT> tag defines the default font size for the text on the webpage.


11. List the attributes of <FONT> tag.

Answer:

  • size: Defines the font size

  • color: Defines the font color

  • face: Defines the font style (font family)


12. List and define different types of paragraph alignments.

Answer:

  • Left: Aligns text to the left side of the page.

  • Right: Aligns text to the right side of the page.

  • Center: Aligns text to the center.

  • Justify: Aligns text to both the left and right margins.


13. The value of #FFFFFF is:

Answer: (b) White


14. The value of #000000 is:

Answer: (a) Black


15. State True or False:

(a) <BR> tag has its closed tag as </BR>False
(b) <P> tag has no closing tag – False
(c) <HR> tag is same as <BR>False
(d) <KBD> tag is used to display tables – False


16. The default alignment of text is ____, default text color is ____, and the default background color is ____.

Answer:

  • Alignment: Left

  • Text Color: Black

  • Background Color: White


17. Give the coding for giving the heading “PACE Computer Education” using <H1> tag, font style Comic Sans MS, color as blue. Body text color as red, background as green, alignment center, font style Brush Script, size 15.

Answer:

<HTML>
  <BODY text="red" bgcolor="green" align="center">
    <H1><FONT face="Comic Sans MS" color="blue">PACE Computer Education</FONT></H1>
    <FONT face="Brush Script" size="15">
      Education is the <br>
      ability to listen to almost <br>
      anything without <br>
      losing your temper <br>
      or your <br>
      self confidence. <br>
      And so is Democracy and Maturity too.
    </FONT>
  </BODY>
</HTML>

18. What is wrong in the following coding?

<HEAD> <my web page>
<TITLE> Welcome to My Web Page </HEAD>
</TITLE>

Answer:

  • <HEAD> tag should contain only metadata.

  • <TITLE> should be inside <HEAD>.

  • Incorrect nesting: <TITLE> starts after <my web page> which is not valid.

  • Proper code:

<HTML>
  <HEAD>
    <TITLE>Welcome to My Web Page</TITLE>
  </HEAD>
  <BODY>
    ...
  </BODY>
</HTML>

Q19. Differentiate between <TITLE> and <HEAD> tags.

Answer:

  • <HEAD>: This tag is used to contain metadata about the HTML document, such as title, links, and scripts.

  • <TITLE>: This tag is used within the <HEAD> section to specify the title of the webpage shown in the browser’s title bar or tab.


Q20. Differentiate between container and empty elements.

Answer:

  • Container Elements have both opening and closing tags (e.g., <p>...</p>, <div>...</div>).

  • Empty Elements do not have a closing tag and are self-closing (e.g., <br>, <hr>, <img>).


Q21. Differentiate between <BR> and <P> tags.

Answer:

  • <BR>: Inserts a single line break. It is an empty tag.

  • <P>: Defines a paragraph with spacing before and after. It is a container tag.


Q22. List and define different types of heading tags.

Answer:

There are six heading tags in HTML:

  • <h1> – Largest heading

  • <h2> – Second largest

  • <h3> – Medium

  • <h4> – Smaller

  • <h5> – Smaller than <h4>

  • <h6> – Smallest heading

Used to structure content by importance.

Class 10 HTML – I Questions and Answers (Q1–Q37) – PDF Download | MasterG


Q23. List and explain the different attributes of the body tag.

Answer:

Common <body> tag attributes:

  • bgcolor – Sets background color

  • background – Sets background image

  • text – Sets default text color

  • link – Sets color of hyperlinks

  • vlink – Sets color of visited links

  • alink – Sets color of active link

  • leftmargin / topmargin – Sets margins of body


Q24. What is the difference between <BASEFONT> and <FONT> tag?

Answer:

  • <BASEFONT>: Sets the default font size, color, and face for the entire document.

  • <FONT>: Sets font styles for specific parts of the document.


Q25. How can a 2D or 3D horizontal rule be displayed?

Answer:

Using the <hr> tag, with optional attributes like size, width, color, and noshade.

Example:

html
 
<hr size="5" color="red">

Q26. What are logical and physical text styles?

Answer:

  • Logical Styles: Emphasize meaning (e.g., <em>, <strong>)

  • Physical Styles: Apply direct formatting (e.g., <b>, <i>, <u>)


Q27. How can different tags be combined in HTML? What is its use?

Answer:

Tags can be nested inside one another to apply multiple formatting effects.

Example:

html
 
<b><i>Bold and Italic Text</i></b>

This enhances formatting flexibility and design.


Q28. What all tags are required in every HTML page?

Answer:

Essential tags in every HTML page:

html
 
<html>
<head>
<title>Page Title</title>
</head>
<body>
<!-- Page content -->
</body>
</html>

Q29. Write the HTML code for the following to appear one after the other:

  • A small heading with the words “We are Proud to Present”

  • A horizontal rule

  • A large heading with the one word, “Orbit”

  • A medium-sized heading with the words, “The Geometric Juggler”

  • Another horizontal rule

Answer:

html
 
<h4>We are Proud to Present</h4>
<hr>
<h1>Orbit</h1>
<h3>The Geometric Juggler</h3>
<hr>

Q30. Format the poem with appropriate line breaks and paragraph break tags:

Poem:

pgsql
 
A Morning is a Wonderful Blessing,
Either Cloudy or Sunny
It stands for Hope, giving us another
Start of what we call Life.

Answer:

html
 
<p>
A Morning is a Wonderful Blessing,<br>
Either Cloudy or Sunny<br>
It stands for Hope, giving us another<br>
Start of what we call Life.
</p>

Q31. Write a complete HTML Web page with the title “Foo Bar” and heading “Happy Hour at the Foo Bar” followed by “Come on down!”

Answer:

html
<html>
<head>
<title>Foo Bar</title>
</head>
<body>
<h1>Happy Hour at the Foo Bar</h1>
<p>Come on down!</p>
</body>
</html>

Q32. How would you say:

“We’re having our annual Impeachment Day SALE today,”
With the word SALE in largest red text, and the rest in blue normal size.

Answer:

html
<font color="blue">
We’re having our annual Impeachment Day
<font color="red" size="7">SALE</font>
today.
</font>

Q33. What type of lists are supported by HTML?

Answer:

HTML supports three types of lists:

  • Ordered List (<ol>) – Numbered list

  • Unordered List (<ul>) – Bulleted list

  • Definition List (<dl>) – Term and description pair


Q34. Differentiate between ordered and unordered lists.

Answer:

  • Ordered List (<ol>): Items appear in a numbered sequence.

  • Unordered List (<ul>): Items appear with bullets (●).


Q35. How will you nest an unordered list inside an ordered list?

Answer:

html
 
<ol>
<li>Fruits
<ul>
<li>Apple</li>
<li>Mango</li>
</ul>
</li>
<li>Vegetables</li>
</ol>

Q36. Which three tags let you create definition lists?

Answer:

  • <dl> – Definition list container

  • <dt> – Definition term

  • <dd> – Definition description


Q37. Which two tags let you create:

(i) Unnumbered lists?<ul>, <li>
(ii) Numbered lists?<ol>, <li>


📥 Download PDF:

👉 Download Full Q&A PDF 

🔔 Stay Connected:

Follow MasterG for more NCERT-based Q&A, mock tests, and video lectures.

Class 10 –  – Computer Applications – Chapter-Wise Solved Questions

Leave a Comment

Your email address will not be published. Required fields are marked *

Scroll to Top