Anjeev Singh Academy

Class 10 Computer Application Code 165 Chapter 3 – HTML – I Basic HTML Elements Sumita Arora Book Exercise Solution

Que 30. Insert the appropriate line break and paragraph break tags to format the following poems with a blank line between them: –

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>
<head> <title> Foo Bar </title> </head>
<body>

<p>A Morning is a Wonderful Blessing, <br> Either Cloudy or Sunny </p>

<p>It stands for Hope, giving us another <br> Start of what we call Life. </p>

</body>
</html>

Que 31. Write a complete HTML Web page with the title “Foo Bar” and a heading at the top which reads “Happy Hour at the Foo Bar”, followed by the words “Come on down!” in regular type.

Answer:

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

Que 32. How would you say,

“We’re having our annual Impeachment Day SALE today,” in normal-sized blue text, but with the word “SALE” in the largest possible size in bright red?

Answer:

<html>
<head> <title> Q 32 Answer </title> </head>
<body>
<font color = "blue"> We're having our annual Impeachment Day  <font color ="red" size = +7>SALE </font> today </font>

</body>
</html>

Que 33. What types of lists are supported by HTML?

Answer: Three types of lists are supported by HTML. These are

(a) Ordered List, (b) Unordered List, and (c) Definition List

Que 34. Differentiate between Ordered and Unordered List.

Answer: – Ordered List vs Unordered List

Ordered ListUnordered List
a) Ordered List is a numbered list.
b) It started with number like 1, A, a, i, I
c) <OL> tag is used to start Ordered List.
a) Unordered List is unnumbered list.
b) It starts with bullets like square, circle, and disc.
c) <UL> tag is used to start Unordered List.

Que 35. How will you nest an unordered list inside an ordered list?

Answer: To nest an unordered list inside the ordered list, you can follow the given syntax:

<OL>
  <LI> Item 1 </LI> 
  <UL> 
      <LI> Item 1_1 </LI> 
      <LI> Item 1_2 </LI> 
  </UL>
  <LI> Item 2 </LI>
  <UL>
       <LI> Item 2_1 </LI>
       <LI> Item 2_2 </LI>
  </UL>
</OL>

Ouput:

  1. Item 1
    • Item 1_1
    • Item 1_2
  2. Item 2
    • Item 2_1
    • Item 2_2

Que 36. Which three tags let you create the definition lists?

Answer: – <DL>, <DT>, <DD>

Que 37. Which two tags let you create the (i) unnumbered lists? (ii) numbered lists?

Answer: Two tags are used to create –

(i) Unnumbered List : <UL>, <LI>

(ii) Numbered List :- <OL>, <LI>

Sorry! You cannot copy content of this page. Please contact, in case you want this content.

Scroll to Top