0% found this document useful (0 votes)
6 views2 pages

HTML CSS Question Bank

The document is a question bank for HTML and CSS, consisting of multiple choice, one word, and output questions. It includes answers for each section, covering topics such as HTML tags, attributes, and CSS properties. The content is designed to test knowledge and skills in web development fundamentals.

Uploaded by

monikaarya.2025
Copyright
© All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as DOCX, PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
6 views2 pages

HTML CSS Question Bank

The document is a question bank for HTML and CSS, consisting of multiple choice, one word, and output questions. It includes answers for each section, covering topics such as HTML tags, attributes, and CSS properties. The content is designed to test knowledge and skills in web development fundamentals.

Uploaded by

monikaarya.2025
Copyright
© All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as DOCX, PDF, TXT or read online on Scribd

HTML & CSS – Question Bank

A. Multiple Choice Questions (5)


1. HTML is used to:
a) Style web pages
b) Create webpage structure
c) Play videos
d) Store data

2. Which tag creates a paragraph?


a) <h1>
b) <img>
c) <p>
d) <a>

3. Which attribute specifies image path?


a) alt
b) src
c) title
d) href

4. Which CSS type is stored in a separate file?


a) Inline
b) Internal
c) External
d) Embedded

5. Which property changes text colour?


a) font-size
b) color
c) padding
d) margin

B. One Word Questions (5)


1. What does HTML stand for?

2. Which HTML tag is used to create a hyperlink?

3. Which CSS property changes the background colour?


4. Which tag is used to insert an image?

5. Name the largest heading tag.

C. Output Questions (5)


1. Write HTML code to display the heading 'My School' using <h1>.

2. Write HTML code to display the paragraph: Welcome to our website.

3. Write HTML code to create a link to [Link] with the text 'Events'.

4. Write HTML code to insert an image named [Link] of width 300 and height 200.

5. Write HTML with internal CSS to make an <h1> green and <p> gray.

Answers
MCQs: 1-b, 2-c, 3-b, 4-c, 5-b

One Word:
1. HyperText Markup Language
2. <a>
3. background-color
4. <img>
5. <h1>

Output Answers:
1. <h1>My School</h1>

2. <p>Welcome to our website.</p>

3. <a href="[Link]">Events</a>

4. <img src="[Link]" width="300" height="200">

5.
<style>
h1 { color: green; }
p { color: gray; }
</style>
<h1>Welcome</h1>
<p>Learning through creativity.</p>

You might also like