Top 20 Important HTML (MCQ) Quiz - Part 1.
Type Here to Get Search Results !

Top 20 Important HTML (MCQ) Quiz - Part 1.

Top 20 Important HTML (MCQ) Quiz - Part 1.
Top 20 Important HTML (MCQ) Quiz - Part 1

1. What does HTML stand for?

(a) Hyper Trainer Marking Language

(b) Hyper Text Marketing Language

(c) Hyper Text Markup Language

(d) Hyper Text Markup Leveler

2. Who is making the Web standards?

(a) Microsoft

(b) Mozilla

(c) The World Wide Web Consortium

(d) Google

3. Choose the correct HTML element for the largest heading:

(a) <h4>

(b) <head>

(c) <h1>

(d) <h6>

4. What is the correct HTML element for inserting a line break?

(a) <break>

(b) <br>

(c) <lb>

(d) <bl>

5. What is the correct HTML for adding a background color?

(a) <background>yellow</background>

(b) <body style="background-color:yellow;">

(c) <body bg="yellow">

(d) <body bgcolor="yellow">

6. Choose the correct HTML element to define important text:

(a) <important>

(b) <strong>

(c) <b>

(d) <i>

7. Choose the correct HTML element to define emphasized text:

(a) <i>

(b) <em>

(c) <italic>

(d) <b>

8. What is the correct HTML for creating a hyperlink?

(a) <a url="http://www.example.com">Example</a>

(b) <a name="http://www.example.com">Example</a>

(c) <a href="http://www.example.com">Example</a>

(d) <a>http://www.example.com</a>

9. Which character is used to indicate an end tag?

(a) *

(b) <

(c) /

(d) ^

10. How can you open a link in a new tab/browser window?

(a) <a href="url" new>

(b) <a href="url" target="_blank">

(c) <a href="url" target="new">

(d) <a href="url" target="open">

11. Which of these elements are all table elements?

(a) <table><tr><tt>

(b) <thead><body><tr>

(c) <table><tr><td>

(d) <table><head><tfoot>

12. Inline elements are normally displayed without starting a new line.

(a) True

(b) False

13. How can you make a numbered list?

(a) <ol>

(b) <ul>

(c) <dl>

(d) <list>

14. How can you make a bulleted list?

(a) <ol>

(b) <ul>

(c) <dl>

(d) <list>

15. What is the correct HTML for making a checkbox?

(a) <check>

(b) <input type="checkbox">

(c) <input type="check">

(d) <checkbox>

16. What is the correct HTML for making a text input field?

(a) <textfield>

(b) <input type="textfield">

(c) <input type="text">

(d) <textinput type="text">

17. What is the correct HTML for inserting an image?

(a) <img href="image.gif" alt="MyImage">

(b) <image src="image.gif" alt="MyImage">

(c) <img src="image.gif" alt="MyImage">

(d) <img alt="image.gif" alt="MyImage">

18. What is the correct HTML for inserting a background image?

(a) <background img="background.gif">

(b) <body bg="background.gif">

(c) <body style="background-image:url('background.gif');">

(d) <img src="background.gif" background>

19. An <iframe> is used to display a web page within a web page.

(a) True

(b) False

20. HTML comments start with <!-- and end with -->

(a) True

(b) False

Tags