HTML QUESTION PAPER
Subject: Web Development – HTML
Section A: Multiple Choice Questions
Choose the correct option and write the answer.
What does HTML stand for?
A. Hyper Text Markup Language
B. Home Tool Markup Language
C. Hyperlinks and Text Markup Language
D. None of the above
Which HTML element is used to create a line break?
A. <break>
B. <lb>
C. <br>
D. <line>
Which attribute is used to specify a link’s destination in an <a> tag?
A. src
B. href
C. link
D. url
The <img> tag is used to:
A. Create a form
B. Display images
C. Create tables
D. Insert audio
Which tag is used to make text italic in HTML?
A. <i>
B. <italic>
C. <em>
D. Both A and C
HTML files are saved with which extension?
A. .txt
B. .web
C. .html
D. .doc
What does the <title> tag define?
A. Page header
B. Page body
C. Browser tab title
D. Footer
Which tag is used to create an unordered list?
A. <ol>
B. <ul>
C. <li>
D. <list>
How many types of heading tags?
A. 5
B. 1
C. 8
D. 6
Which tag defines the largest heading in HTML?
A. <head>
B. <heading>
C. <h6>
D. <h1>
Section B: True or False
Write whether the following statements are True or False.
The <body> tag contains everything you want to show on a web page.
Inline CSS is written inside the style attribute of an HTML tag.
The <link> tag is used to connect HTML to CSS.
You can use multiple <h1> tags on a single HTML page
CSS is code of structure of coding ?
Section C: Fill in the Blanks
The tag used to insert an image is <________>.
write a div tag code < ________> </_____>
CSS Full form is _____________
Lists inside <ul> and <ol> tags must use <________> for each item.
The tag used to define a table row is <________>.
Practical Code :
Write an HTML program that displays the following:
A heading: “My First Web Page”
A paragraph about yourself
Insert a image and also apply marquee tag
Insert A link to Google page
Write HTML code to create a table with 2 rows and 3 columns, containing sample data like Name, Age, and City.