Practice test

Html - Test Set 1

Review 20 exam-focused questions with detailed explanations, then start the interactive test when you are ready.

20 questions

Questions and explanations

  1. Question 1

    What does HTML stand for?
    1. Hyper Text Markup Language
    2. Hyperlinks and Text Markup Language
    3. Home Tool Markup Language
    4. Hyper Text Managing Links
    View explanation

    Sign In to See Explanations. Sign Up Here

  2. Question 2

    An HTML Program is saved by using the ________ extension.
    1. .ht
    2. .html
    3. .hml
    4. None of these
    View explanation

    Sign In to See Explanations. Sign Up Here

  3. Question 3

    What is the default alignment of text in an HTML document?
    1. Left
    2. Center
    3. Justify
    4. Right
    View explanation

    Sign In to See Explanations. Sign Up Here

  4. Question 4

    Who is considered as the ‘Father of HTML’?
    1. Sergey Brin
    2. Tim Berners Lee
    3. Rasmus Lerdorf
    4. Brendan Eich
    View explanation

    Sign In to See Explanations. Sign Up Here

  5. Question 5

    What is the correct syntax of doctype in HTML5?
    1. <!doctype html>
    2. </doctype html>
    3. <!DOCTYPE html>
    4. <doctype html>
    View explanation

    Sign In to See Explanations. Sign Up Here

  6. Question 6

    The correct sequence of HTML tags for starting a webpage is:
    1. Head, title, HTML, body
    2. HTML, head, body, title
    3. HTML, head, title, body
    4. HTML, body, title, head
    View explanation

    Sign In to See Explanations. Sign Up Here

  7. Question 7

    What if one does not use the doctype in the starting of an HTML document?
    1. Browser finds the document in quirky mode
    2. Browser finds a document in standard mode
    3. Browser crashes after showing the page
    4. Browser stops working
    View explanation

    Sign In to See Explanations. Sign Up Here

  8. Question 8

    Which of the following defines the title of a work?
    1. <cite>
    2. <hr>
    3. <a>
    4. <address>
    View explanation

    Sign In to See Explanations. Sign Up Here

  9. Question 9

    Which of the following are the boldface tags instructions for the web browser?
    1. <Br> and </Br>
    2. <Bo> and </Bo>
    3. <Bl> and </Bl>
    4. <B> and </B>
    View explanation

    Sign In to See Explanations. Sign Up Here

  10. Question 10

    Which of the following element is responsible for making the text bold in HTML?
    1. <br>
    2. <b>
    3. <a>
    4. <pre>
    View explanation

    Sign In to See Explanations. Sign Up Here

  11. Question 11

    What is the correct way to make a comment in HTML?
    1. <!-- This is a comment -->
    2. # This is a comment
    3. // This is a comment
    4. /* This is a comment */
    View explanation

    Sign In to See Explanations. Sign Up Here

  12. Question 12

    Which tag is used to create a drop-down list in HTML?
    1. <list>
    2. <option>
    3. <select>
    4. <dropdown>
    View explanation

    Sign In to See Explanations. Sign Up Here

  13. Question 13

    What is the correct HTML tag for inserting a line break?
    1. <br>
    2. <break>
    3. <line>
    4. <lb>
    View explanation

    Sign In to See Explanations. Sign Up Here

  14. Question 14

    How to create an unordered list (a list with the list items in bullets) in HTML?
    1. <li>
    2. <ul>
    3. <i>
    4. <ol>
    View explanation

    Sign In to See Explanations. Sign Up Here

  15. Question 15

    Which character is used to represent the closing of a tag in HTML?
    1. !
    2. \
    3. /
    4. .
    View explanation

    Sign In to See Explanations. Sign Up Here

  16. Question 16

    How to create a hyperlink in HTML?
    1. <a href = "..."> </a>
    2. <a link = "...."> </a>
    3. <a url = "...." /a>
    4. <a> .... < /a>
    View explanation

    Sign In to See Explanations. Sign Up Here

  17. Question 17

    How to create an ordered list (a list with the list items in numbers) in HTML?
    1. <ul>
    2. <li>
    3. <i>
    4. <ol>
    View explanation

    Sign In to See Explanations. Sign Up Here

  18. Question 18

    Which of the following defines a section in a web page?
    1. <div>
    2. <sup>
    3. <sub>
    4. <del>
    View explanation

    Sign In to See Explanations. Sign Up Here

  19. Question 19

    How to insert an image in HTML?
    1. <img url = "..." />
    2. <img href = "..." />
    3. <img link = "..." />
    4. <img src = "..." />
    View explanation

    Sign In to See Explanations. Sign Up Here

  20. Question 20

    Which of the following tag is used to make the underlined text?
    1. <ul>
    2. <pre>
    3. <u>
    4. <i>
    View explanation

    Sign In to See Explanations. Sign Up Here