1
Which HTML tag is used to create an ordered list?
Answer & Solution
Answer:
    Solution:

    The <ol> tag is used to create an ordered list, with each item being numbered automatically.

    2
    What is the correct way to create a comment in HTML?
    A.
    B.
    C.
    D.
    Answer & Solution
    Answer:
    Solution:

    HTML comments are enclosed between <!-- and -->.

    3
    How do you define an HTML hyperlink?
    Answer & Solution
    Answer:
    Link
    Solution:

    The <a> tag is used to define hyperlinks, and the href attribute specifies the URL of the page to link to.

    4
    Which tag is used to define the head section of an HTML document?
    Answer & Solution
    Answer:
    Solution:

    The <head> tag contains metadata about the HTML document, such as the title and link to external files.

    5
    Which of the following is the correct way to create a drop-down menu?
    A.
    B.
    C.
    D.
    Answer & Solution
    Answer:
    Solution:

    The <select> tag is used to define a drop-down list, and each <option> defines an option within the list.

    6
    What is the default alignment for text in a paragraph (

    ) element?

    A.
    B.
    C.
    D.
    Answer & Solution
    Answer:
    Left
    Solution:

    By default, text inside a <p> tag is aligned to the left.

    7
    Which HTML tag is used to define a container for content that should be displayed as a block-level element?
    Answer & Solution
    Answer:
    Solution:

    The <div> tag is a block-level element used to group content together.

    8
    What does the
    tag create in HTML?
    A.
    B.
    C.
    D.
    Answer & Solution
    Answer:
    Horizontal line
    Solution:

    The <hr> tag creates a horizontal rule (line) to visually separate sections of a page.

    9
    Which tag is used to define the text for a label element in a form?
    Answer & Solution
    Answer:
    Solution:

    The <label> tag is used to define labels for form input elements.

    10
    Which tag is used to define the body of an HTML document?
    Answer & Solution
    Answer:
    Solution:

    The <body> tag contains the main content of the HTML document.