HTML stands for \"Hyper Text Markup Language\", it is a standard markup language for creating webpages i.e., to create a website. HTML describes the structure of a webpage.
HTML MCQs: This section contains HTML Multiple-Choice Questions with Answers. These HTML MCQs are written for beginners as well as advanced, practice these MCQs to enhance and test the knowledge of HTML.
Title | |
---|---|
HTML is the standard ____language for creating Web pagesHTML is the standard ____language for creating Web pages.
The answer is:
D. markup
|
|
HTML stands for_______HTML stands for_______.
The answer is:
B. Hyper Text Markup Language
|
|
Which is the correct syntax to include comment in an HTML document?Which is the correct syntax to include comment in an HTML document?
The answer is:
D. <!-- Comment -->
|
|
Can we hide content using the comment? |
|
Can we hide inline content using the comment? |
|
Which element/tag defines a paragraph?Which element/tag defines a paragraph?
The answer is:
A. <p>
|
|
Which tag/element defines the HTML document's body?Which tag/element defines the HTML document's body?
The answer is:
D. <body>
|
|
Which tag contains the meta information about the HTML page?Which tag contains the meta information about the HTML page?
The answer is:
C. <head>
|
|
Which tag is the root element of an HTML page?Which tag is the root element of an HTML page?
The answer is:
A. <html>
|
|
Who invented HTML?Who invented HTML?
The answer is:
B. Tim Berners-Lee
|
|
HTML tags with no content are called _____HTML tags with no content are called _____.
The answer is:
C. Empty tags
|
|
Nested HTML Elements are allowed in HTML? |
|
Is HTML a case sensitive? |
|
HTML headings are defined with the _____ tagsHTML headings are defined with the _____ tags.
The answer is:
C. <h1> to <h6>
|
|
Which tag is used to display a horizonal rule (horizonal line)?Which tag is used to display a horizonal rule (horizonal line)?
The answer is:
B. <hr>
|
|
What is the correct syntax of <hr> tag?What is the correct syntax of <hr> tag?
The answer is:
E. Both A. and B.
|
|
Which tag is used to define a line break?Which tag is used to define a line break?
The answer is:
C. <br>
|
|
What is the correct syntax of <br> tag?What is the correct syntax of <br> tag?
The answer is:
D. Both A. and B.
|
|
Which tag is used to define preformatted text?Which tag is used to define preformatted text?
The answer is:
C. <pre>
|
|
Which HTML attribute is used to define styles of an element?Which HTML attribute is used to define styles of an element?
The answer is:
C. style
|
MCQs
Views
Best Answers
Points