Class 10 Exam  >  Class 10 Notes  >  Computer Application: Class 10  >  Worksheet Solutions: HTML Basics

Worksheet Solutions: HTML Basics | Computer Application: Class 10 PDF Download

Q1: Multiple Choice Questions (MCQs)

1. Who invented HTML and in which year?

a) Tim Berners-Lee, 1990

b) Mark Zuckerberg, 2004

c) Bill Gates, 1985

d) Steve Jobs, 1995

Answer: a) Tim Berners-Lee, 1990

Explanation: Tim Berners-Lee invented HTML in November 1990 to facilitate easier access to research documents among scientists.


2. What does a tag in HTML define?

a) The font size of the text

b) An action to be performed by the browser

c) The background color of the page

d) The speed of the internet connection

Answer: b) An action to be performed by the browser

Explanation: A tag is a special word enclosed in angle-brackets < > that tells the browser to perform an action.


3. Which attribute specifies a background image in an HTML document?

a) bgcolor

b) background

c) imgsrc

d) bgimage

Answer: b) background

Explanation: The background attribute specifies a background image for an HTML page.


4. Which of the following is an empty tag?

a) <html>

b) <body>

c) <br>

d) <head>

Answer: c) <br>

Explanation: The <br> tag is used for adding a line break and does not require a closing tag.


5. How is the end of the head section of an HTML document indicated?

a) <endhead>

b) </head>

c) <head end>

d) <closehead>

Answer: b) </head>

Explanation: The end of the head section is indicated by the closing tag </head>.


Q2: Fill in the Blanks

1. The __________ tag is used to insert a horizontal rule on the web page.

Answer: <hr>

2. The __________ attribute of the <img> tag specifies the path to the image.

Answer: src

3. The __________ tag is used to display the heading or main topic on the web page.

Answer: <h1> to <h6>

4. The attribute used to align an image to the left or right of the web page is __________.

Answer: align

5. HTML stands for __________.

Answer: HyperText Mark-up Language


Q3: Match the Columns

Worksheet Solutions: HTML Basics | Computer Application: Class 10

Answers:

1. <p> - b) Adding a paragraph  

**Explanation:** The <p> tag is used to define a paragraph in an HTML document.

2. <img> - c) Displaying an image

Explanation: The <img> tag is used to embed an image in an HTML page.

3. <sup> - d) Superscript text

Explanation: The <sup> tag is used to display text as superscript.

4. <sub> - e) Subscript text

Explanation: The <sub> tag is used to display text as subscript.

5. <hr> - a) Inserting a horizontal rule  

**Explanation:** The <hr> tag is used to insert a horizontal line (rule) in a web page.


Q4: True or False

1. The <title> tag is used to change the heading on the title bar of the HTML document.

Answer: True

2. The alt attribute of an image is used to define alternate text for an image.

Answer: True

3. The bgcolor attribute specifies a background image for an HTML page.

Answer: False

4. HTML tags can only be written in lowercase letters.

Answer: False

5. The <head> tag contains the metadata and other information about the HTML document.

Answer: True

The document Worksheet Solutions: HTML Basics | Computer Application: Class 10 is a part of the Class 10 Course Computer Application: Class 10.
All you need of Class 10 at this link: Class 10
11 videos|49 docs|18 tests

Top Courses for Class 10

FAQs on Worksheet Solutions: HTML Basics - Computer Application: Class 10

1. How can I create a hyperlink in HTML?
Ans. To create a hyperlink in HTML, you can use the <a> tag with the href attribute to specify the destination URL. For example, <a href="https://www.example.com">Link Text</a> will create a hyperlink with the text "Link Text" that directs to the URL "https://www.example.com" when clicked.
2. What is the purpose of the <img> tag in HTML?
Ans. The <img> tag in HTML is used to insert images into a webpage. You can specify the image source using the src attribute, and optionally add attributes like alt text for accessibility, width, and height.
3. How do I create a bullet point list in HTML?
Ans. To create a bullet point list in HTML, you can use the <ul> tag for an unordered list and the <li> tag for each list item. For example: <ul> <li>Item 1</li> <li>Item 2</li> </ul> This will display a list with bullet points for each item.
4. What is the difference between padding and margin in CSS?
Ans. Padding in CSS is the space between the content and the border of an element, while margin is the space between the border of an element and surrounding elements. Padding affects the inside of an element, while margin affects the outside.
5. How can I change the font size of text in HTML?
Ans. You can change the font size of text in HTML using the style attribute with the font-size property. For example, <p style="font-size: 20px;">This is a paragraph with a font size of 20 pixels</p> will set the font size of the paragraph to 20 pixels.
11 videos|49 docs|18 tests
Download as PDF
Explore Courses for Class 10 exam

Top Courses for Class 10

Signup for Free!
Signup to see your scores go up within 7 days! Learn & Practice with 1000+ FREE Notes, Videos & Tests.
10M+ students study on EduRev
Related Searches

shortcuts and tricks

,

Worksheet Solutions: HTML Basics | Computer Application: Class 10

,

Extra Questions

,

Worksheet Solutions: HTML Basics | Computer Application: Class 10

,

pdf

,

Important questions

,

mock tests for examination

,

Objective type Questions

,

past year papers

,

video lectures

,

Sample Paper

,

practice quizzes

,

Semester Notes

,

Previous Year Questions with Solutions

,

study material

,

Free

,

Viva Questions

,

Summary

,

Exam

,

Worksheet Solutions: HTML Basics | Computer Application: Class 10

,

MCQs

,

ppt

;