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.

 

questions

Title
HTML is the standard ____language for creating Web pages

HTML is the standard ____language for creating Web pages.


  1. scripting
  2. programming
  3. styling
  4. markup
discuss
HTML stands for_______

HTML stands for_______.


  1. Hyperactive Text Markup Language
  2. Hyper Text Markup Language
  3. Hyper Text Machine Language
  4. None of these
discuss
Which is the correct syntax to include comment in an HTML document?

Which is the correct syntax to include comment in an HTML document?


  1. //
  2. /* Comment */
  3. // Comment //
  4. <!-- Comment -->
discuss
Can we hide content using the comment?

Can we hide content using the comment?


  1. Yes
  2. No
discuss
Can we hide inline content using the comment?

Can we hide inline content using the comment?


  1. Yes
  2. No
discuss
Which element/tag defines a paragraph?

Which element/tag defines a paragraph?


  1. <p>
  2. <pre>
  3. <panel>
  4. None of the above
discuss
Which tag/element defines the HTML document's body?

Which tag/element defines the HTML document's body?


  1. <HTML>
  2. <HTMLbody>
  3. <bdy>
  4. <body>
discuss
Which tag contains the meta information about the HTML page?

Which tag contains the meta information about the HTML page?


  1. <html>
  2. <title>
  3. <head>
  4. <body>
discuss
Which tag is the root element of an HTML page?

Which tag is the root element of an HTML page?


  1. <html>
  2. <title>
  3. <head>
  4. <body>
discuss
Who invented HTML?

Who invented HTML?


  1. Dave Raggett
  2. Tim Berners-Lee
  3. Denis Ritchie
  4. All of the above
discuss
HTML tags with no content are called _____

HTML tags with no content are called _____.


  1. Special tags
  2. Advanced tags
  3. Empty tags
  4. Other tags
discuss
Nested HTML Elements are allowed in HTML?

Nested HTML Elements are allowed in HTML?


  1. Yes
  2. No
discuss
Is HTML a case sensitive?

Is HTML a case sensitive?


  1. Yes
  2. No
discuss
HTML headings are defined with the _____ tags

HTML headings are defined with the _____ tags.


  1. <head1> to <head6>
  2. <p1> to <p6>
  3. <h1> to <h6>
  4. <h1> to <h3>
discuss
Which tag is used to display a horizonal rule (horizonal line)?

Which tag is used to display a horizonal rule (horizonal line)?


  1. <br>
  2. <hr>
  3. <hr>...</hr>
  4. <line>
discuss
What is the correct syntax of <hr> tag?

What is the correct syntax of <hr> tag?


  1. <hr>
  2. <hr />
  3. <hr></hr>
  4. All of the above
  5. Both A. and B.
discuss
Which tag is used to define a line break?

Which tag is used to define a line break?


  1. <\n>
  2. <lr>
  3. <br>
  4. <br>...</br>
discuss
What is the correct syntax of <br> tag?

What is the correct syntax of <br> tag?


  1. <br>
  2. <br />
  3. <br></br>
  4. Both A. and B.
  5. All of the above
discuss
Which tag is used to define preformatted text?

Which tag is used to define preformatted text?


  1. <pf>
  2. <p>
  3. <pre>
  4. <code>
discuss
Which HTML attribute is used to define styles of an element?

Which HTML attribute is used to define styles of an element?


  1. <style>
  2. <css>
  3. style
  4. css
discuss
total MCQs: 70

MCQs

70

Views

283

Best Answers

299

Points

5