HTML Quiz

HTML Programming Quiz

1. What does HTML stand for?
a) Hyper Trainer Marking Language
b) HyperText Marketing Language
c) HyperText Markup Language
d) Hyper Tool Markup Language

 

2. Which tag is used to define a hyperlink in HTML?
a) <link>
b) <a>
c) <href>
d) <hyper>

 

3. What is the correct HTML element for inserting a line break?
a) <break>
b) <lb>
c) <br>
d) <ln>

 

4. Which HTML tag is used to define an image?
a) <img>
b) <image>
c) <src>
d) <pic>

 

5. How can you make a numbered list in HTML?
a) <dl>
b) <ul>
c) <ol>
d) <list>

 

6. Which HTML attribute is used to define inline styles?
a) styles
b) style
c) css
d) class

 

7. What is the correct HTML for adding a background color?
a) <body style=\”background-color:yellow;\”>
b) <background>yellow</background>
c) <body bg=\”yellow\”>
d) <bgcolor=\”yellow\”>

 

8. Which tag is used to define a table row?
a) <tr>
b) <td>
c) <table>
d) <row>

 

9. How can you make a text bold in HTML?
a) <bold>
b) <b>
c) <stronger>
d) <strongtext>

 

10. Which HTML element is used for the largest heading?
a) <h6>
b) <h3>
c) <head>
d) <h1>

 

11. Which tag is used to define an unordered list?
a) <ol>
b) <list>
c) <ul>
d) <li>

 

12. Which tag is used to create a checkbox in a form?
a) <input type=\”checkbox\”>
b) <checkbox>
c) <input checkbox>
d) <check>