1. What does HTML stand for?
a) Hyper Text Markup Language
b) High Text Machine Language
c) Hyperlinks and Text Markup Language
d) None of these
Answer: a
2. Which tag is used to define the start of an HTML document?
a) <start>
b) <html>
c) <body>
d) <doc>
Answer: b
3. Which tag is used to display content on a webpage?
a) <html>
b) <body>
c) <head>
d) <title>
Answer: b
4. HTML files are saved with which extension?
a) .htm or .html
b) .txt
c) .doc
d) .css
Answer: a
5. Which section of HTML contains the visible content?
a) <head>
b) <body>
c) <title>
d) <meta>
Answer:
6. Which tag is used for the largest heading?
a) <h6>
b) <h1>
c) <head>
d) <title>
Answer: b
7. How many heading levels are available in HTML?
a) 3
b) 5
c) 6
d) 7
Answer: c
8. Which heading tag shows the smallest size?
a) <h1>
b) <h3>
c) <h6>
d) <h5>
Answer: c
9. Which tag is used to define headings?
a) <heading>
b) <h>
c) <h1> to <h6>
d) <head>
Answer: c
10. Headings are generally used for:
a) Adding images
b) Making text bold
c) Structuring content
d) Creating links
Answer: c
---
11. Which tag is used to write a paragraph?
a) <para>
b) <p>
c) <pg>
d) <text>
Answer: b
12. Paragraphs in HTML are automatically:
a) Bold
b) Italic
c) Separated by blank lines
d) Centered
Answer: c
13. Which tag is used to break a line without starting a new paragraph?
a) <break>
b) <br>
c) <lb>
d) <line>
Answer: b
14. Which tag is used to add space between paragraphs?
a) <space>
b) <br>
c) <p>
d) <gap>
Answer: b
15. Paragraphs are mainly used to:
a) Insert images
b) Write text content
c) Create lists
d) Add links
Answer: b
---
16. Which attribute is used to change text color in HTML?
a) font
b) style
c) color
d) text
Answer: b
17. To make text bold using style, we use:
a) font-weight:bold;
b) text:bold;
c) style:bold;
d) bold:true;
Answer: a
18. Which attribute is used inside a tag to apply CSS styles?
a) design
b) style
c) css
d) format
Answer: b
19. To change background color of a webpage, we use:
a) <body bgcolor="yellow">
b) <background="yellow">
c) <style="yellow">
d) <color="yellow">
Answer: a
20. Which property is used to change text size?
a) font-size
b) text-size
c) size
d) style-size
Answer: a
---
21. Which tag is used to create frames in HTML?
a) <frame>
b) <frameset>
c) <iframe>
d) Both b and c
Answer: d
22. Which tag is used to embed another webpage inside a page?
a) <embed>
b) <iframe>
c) <insert>
d) <page>
Answer: b
23. Frames are mainly used to:
a) Add images
b) Divide webpage into sections
c) Write paragraphs
d) Create lists
Answer: b
24. Which attribute is used to set the source of an iframe?
a) src
b) link
c) href
d) source
Answer: a
25. Which tag replaced frames in modern HTML?
a) <div>
b) <section>
c) <iframe>
d) <span>
Answer: c
---
26. Which tag is used to insert an image?
a) <img>
b) <image>
c) <pic>
d) <src>
Answer: a
27. Which attribute is used to provide image path?
a) href
b) src
c) link
d) path
Answer: b
28. Which tag is used to create a hyperlink?
a) <link>
b) <a>
c) <href>
d) <url>
Answer: b
29. Which tag is used to create an ordered list?
a) <ul>
b) <ol>
c) <list>
d) <order>
Answer: b
30. Which tag is used to create an unordered list?
a) <ul>
b) <ol>
c) <list>
d) <order>
Answer: a
Q.1 How can we link webpages in HTML?
Ans :- You can link webpages in HTML using the anchor tag <a> with the href attribute.
Example: <a href="page2.html">Go to Page 2</a> which opens the linked webpage when clicked.
Note:- 👇
Ignore those MCQ's which u have already done in your notebook in the class...
THANKYOU STUDENTS
(SHUBHAM JAIN)