Class 10 Chapter 3 Solution

Looking for Class 10 Chapter 3 notes and solutions? You’ve come to the right place! Our website offers well-structured, easy-to-understand study materials that align perfectly with the latest CBSE syllabus. These notes are crafted by subject matter experts to provide clear explanations and step-by-step solutions to help you master even the most challenging topics. Whether you’re preparing for exams or need a quick revision, our resources ensure you’re always ready. Access our Class 10 Chapter 3 solutions now and take your learning to the next level!

PART I

I. FILL IN THE BLANKS:

1. ___ documents are made up of text content and special codes.

Ans. HTML.

2. ___ are used to write notes about an HTML document.

Ans. HTML editor.

3. HTML document is saved with an extension_____.

Ans. .html / .htm.

4. ___ are used to view the HTML documents.

Ans. Web browsers.

 

5. The _____ element includes both on and off tags.

Ans. Container.

6. The ___ element splits the line and displays the text on a new line.

Ans. BR.

II. MULTIPLE CHOICE QUESTIONS:

1. Which is the correct way to comment out something in HTML?

(1) Using ## and #

(2) Using <!– and –>

(3) Using </– and -/->

(4) Using <!– and -!>

Ans. (2) Using <!– and –>

 

2. The ____ tag draws a horizontal line across the web page.

(1) <br>

(2) <hr>

(3) <line>

Ans. (2) <hr>

3. _____ provides a set of style rules for defining the layout of the HTML documents.

 
 

(1) CSS

(2) WSS

(3) TSS

Ans. (1) CSS

4. A property and its value are collectively known as_____.

(1) Selector

(2) Attribute

(3) Declaration

Ans. (3) Declaration.

5. Which tag indicates the beginning and end of the HTML documents?

 

(1) <HEAD>

(2) <BODY>

(3) <HTML>

Ans. (3) <HTML>

6. Which of the following is used to define the style for a single HTML page?

(1) Inline

(2) Internal CSS

(3) External CSS 

Ans. (1) Internal CSS

III. APPLICATION BASED QUESTIONS:

1. Yashvi was styling an HTML document using CSS. She wants to add styles directly to

an HTML tag using the style attribute with the tag. How can she do this?

Ans. Yashvi can add styles directly to an HTML tag using the ‘style’ attribute within the opening tag of the HTML element.

<p style=”color: blue; font-size: 16px;”>This is a styled paragraph.</p>

2. Rohan wants to divide his web page into different sections so that the content is easily

readable. Which tag can he use for this? Which attributes can he use to define some

extra properties of this tag?

Ans. The <hr> tag is used in HTML to make Divisions of content in the web page

 

3. Kirti wants to set the image of a park as the background of her web page but she is

unable to do it. Which tag should she use to do so? Give the syntax.

Ans. Kirti should use BODY tag along with its BACKGROUND attribute to set the image of a park as the background of her web page.

The syntax is as follows:

<BODY BACKGROUND = “park.jpg”>

IV. ANSWER THE FOLLOWING:

LAB ACTIVITY

Create a web page that serves as an invitation card to your birthday party. Use all the HTML tags along with CSS properties you have learnt to make it attractive and lively.

2. Create a web page that serves as a guide for the mathematical formulas using HTML tags along with CSS properties.

PART II

I. FILL IN THE BLANKS:

1. By default, the unordered lists items are marked with _____.

Ans. Bullet.

2. ____ attribute of list lets you reverse the order of the item list.

Ans. REVERSED.

3. A list inside another list is called as a ___ list.

Ans. Nested.

4. A collection of related elements is called as ___.

Ans. List.

5. ___ property of table defines the space between the content of the table and the border.

Ans. CELLPADDING.

6. The <img> tag is an ___ tag, that means it has no closing tag. 

Ans. Empty.

7. _____ is an attribute of the <img> tag which specifies the location or URL of the image to displayed.

Ans. SRC.

8. ____ attribute is used to give border to an image.

 

Ans. BORDER.

II. MULTIPLE CHOICE QUESTIONS:

1. Which tag is used for List items?

(1) <OL>

(2) <LI>

(3) <UL>

(4) <DL>

Ans. (2) <LI>

2. Which element contains definition?

(1) <DL>

(2) <DD>

(3) <DT>

(4) <UL>

Ans. (2) <DD>.

3. Which of the following can’t be the value of list-style-type?

(1) Square

(2) Circle

(3) Ellipse

(4) Disc

Ans. (3) Ellipse

4. Which attribute is only used with <o1>?

(1) Value

(2) type

(3) compact

(4) start

Ans. (4) start

5. With the help of which tag, is a row defined in HTML?

(1) <row>

(2) <tr>

(3) <row-table>

(4) <tablerow>

Ans. (2) <tr>

6. By using which of the following options, the border of table can be collapsed?

(1) border-collapse: collapse

(2) table-border: collapse

(3) border: collapse

(4) table-border-collapse: collapse

Ans. (1) border-collapse: collapse.

7. Web browsers display images in the following format.

(1) XBM

(2) GIF

(3) JPEG

(4) All of these

Ans. (4) All of these.

8. The correct HTML code for inserting an image is —

(1) <img href = ”image.gif”>

(2) <img> image.gif</gif>

(3) <img src = “image.gif”>

(4) <image src = “image.gif”>

Ans. (3) <img src = “image.gif”>.

9. Src attribute used with <img> tag stands for.

(1) screen

(2) source

(3) screen resolution count

(4) structure

Ans. (2) source.

10. Alt attribute allows:

(1) addition of an alternate hyperlink.

(2) addition of a border to an image.

(3) use of an alternative image in place of the specified image.

(4) addition of alternative text about an image.

Ans. (4) addition of alternative text about an image.

III. APPLICATION BASED QUESTIONS:

1. Ruchika was making an ordered list and she noticed that the items of the list by default started with numbers. She wants to use Roman numerals for numbering. How can she do this?

Ans. To use Roman numerals for numbering, Ruchika must use the following code – 

<ol type=”I”>

    <li>First item</li>

    <li>Second item</li>

    <li>Third item</li>

</ol>

 

2. Rohan has created a table and he wants that the table border should be collapsed into a single border. Which property should he use?

Ans. To make the border-collapse, Rohan must use the following property : border-collapse: collapse.

3. Ashmita has added a few images on her web page but she wants to keep some provisions for the visually impaired people or users using text-based browsers so that they get the description for the images. Which attribute should she use to accomplish the task?

Ans. To get the description for the images, Ashmita must use the ALT attribute with the image tag. The syntax for the same is given below:

 

<img src=”image.jpg” alt=”A beautiful sunset over the mountains”>

IV. ANSWER THE FOLLOWING:

LAB ACTIVITY

1. Create a web page to show a list of various colours and their Hex codes (Hexadecimal numerals are widely used by computer system designers and programmers because they provide a human-friendly representation of binary-coded values). Also provide image for the colors you mention in your code. 

2. Create a web page to form a tabular representation of different mobile names with their features. 

PART III

I. FILL IN THE BLANKS:

1. The web pages of a website are linked to eash other using _____.

Ans. Hyperlink.

2. The attribute ____ is used to create a hyperlink between two or more HTML codes.

Ans. Href.

3. When you move the mouse pointer over a link, the mouse pointer changes its shape from an arrow to a ___.

Ans. Pointing hand.

4. The ___ attribute of the <audio> tag indicates that you can replay the audio file once it is finished.

Ans. Loop.

5. The small rectangular areas created in the main browser window are known as _____.

Ans. Frames.

6. The ____ attribute of the frame tag tells the browser which HTML page to load into that frame.

Ans. Src.

7. _____ attribute of the frame tag attaches the default URL.

Ans. Src.

8. ____ allows multiple HTML documents to be presented as independent windows within one browser window.

Ans. Inline frame.

9. The ____ tag collects the information from the user.

 

Ans. Input.

II. MULTIPLE CHOICE QUESTIONS:

1. A ___ is a word, a group of words, or an image that can be used to jump to another document on the same website or another website.

(1) Hyperlink

(2) URL

(3) Address

(4) none of these

Ans. (1) Hyperlink.

2. The ___ attribute of the <a> tag is used to set the URL of the target resource.

(1) src

(2) href

(3) Controls

(4) none of these

Ans. (2) href.

3. Which of the following can be embedded in a web page?

(1) Audio

(2) Video

(3) Both (1) and (2)

(4) None of these

Ans. (3) Both (1) and (2). 

4. The _____ attribute of the <video> tag plays the video file automatically on loading a web page.

(1) controls

(2) Autoplay

(3) Height

(4) none of these

Ans. (2) Autoplay.

5. _____ tag is used to create textbox, radio button and checkbox on the web page.

(1) <OPTION>

(2) <INPUT>

(3) Both of these

(4) None of these

 

Ans. (2) <INPUT>.

III. APPLICATION BASED QUESTIONS:

1. Rohan wants to divide a web page into four sections. Which tag should he use to accomplish this?

Ans. Rohan must use the <iframe> tag to divide a web page into four sections.

Syntax:

<iframe src = “url” title = “description”> </iframe>.

2. Rahim is creating a website in which he wants to use different images as links to the web pages. He is also interested in adding some video clips in his website. Can you suggest him the required tags to include the said elements in his website?

Ans. Rahim must use the following tags: 

To insert images to his web page – <img> tag 

• To create link – <a> tag.

• To insert video clips – <video> tag.

3. Ritika was writting an article using HTML. The article contains some external links to other website contains additional information. How can she link these together so that the user can visit the destination of the external links by clicking on them?

Ans. To link to the external links, Ritika must use the following tag and syntax.

The tag to be used – <a> tag

Syntax:

<a href = “destination file name”>link </a>.

4. Priyanka wants to create a form but she has forgotten the tag used to create the form. Can you help her with the solution?

 

Ans. To create the form, Priyanka has to use <form> tag.

IV. ANSWER THE FOLLOWING:

LAB ACTIVITY

1. Create a web page where a person has top choose a day of the month from a drop – down list. The page should also allow the person to enter two lines on what the person plans to do on. 

2. Create an HTML document on the topic HTML list and HTML Tables. The web page should contain two frames where in one frame with HTML List and in other HTML Tables. 

Scroll to Top