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

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

Top 20 Important HTML (MCQ) Quiz - Part 3.
Top 20 Important HTML (MCQ) Quiz - Part 2

1. What is the correct HTML element for the smallest heading?

(a) <heading>

(b) <h3>

(c) <h4>

(d) <h6>

2. Which HTML attribute is used to define inline styles?

(a) class

(b) style

(c) font

(d) styles

3. Which of the following elements are used to create a form in HTML?

(a) <form>, <input>, <textarea>, <label>

(b) All of the above

(c) <input>, <select>, <button>, <label>

(d) <form>, <input>, <select>, <textarea>

4. How can you make a numbered list?

(a) <dl>

(b) <ul>

(c) <ol>

(d) <list>

5. How can you make a bulleted list?

(a) <list>

(b) <ul>

(c) <ol>

(d) <dl>

6. Which attribute can be used to make a hyperlink open in a new tab/window?

(a) window

(b) target

(c) tab

(d) href

7. Which HTML tag is used to define an internal style sheet?

(a) <script>

(b) <head>

(c) <style>

(d) <css>

8. Which attribute is used to define the source URL of an image?

(a) href

(b) src

(c) url

(d) link

9. Which tag is used to define a client-side image map?

(a) <map>

(b) <map>

(c) <img>

(d) <usemap>

10. Which tag is used to define the body of an HTML document?

(a) <head>

(b) <body>

(c) <title>

(d) <html>

11. Which HTML element is used to define an unordered list?

(a) <ol>

(b) <ul>

(c) <dl>

(d) <list>

12. How can you make an image clickable?

(a) Wrap it in a <click> element

(b) Wrap it in an <a> element

(c) Use the clickable attribute

(d) Use the href attribute

13. Which HTML attribute specifies an alternate text for an image, if the image cannot be displayed?

(a) title

(b) alt

(c) src

(d) longdesc

14. Which HTML attribute is used to define the inline CSS for an element?

(a) class

(b) style

(c) id

(d) css

15. Which attribute is used to specify the URL of an external script file?

(a) link

(b) href

(c) src

(d) script

16. Which element is used to specify a footer for a document or section?

(a) <bottom>

(b) <footer>

(c) <foot>

(d) <below>

17. How do you define a section in HTML?

(a) <div>

(b) <section>

(c) <article>

(d) <span>

18. Which HTML attribute specifies the character encoding for the HTML document?

(a) encoding

(b) charset

(c) charcode

(d) code

19. Which HTML attribute is used to define the inline CSS for an element?

(a) class

(b) style

(c) id

(d) css

20. How do you specify the relationship between the current document and an external resource in HTML?

(a) src

(b) rel

(c) href

(d) type

Tags

Top Post Ad

Below Post Ad