HOME C C++ PYTHON JAVA HTML CSS JAVASCRIPT BOOTSTRAP JQUERY REACT PHP SQL AJAX JSON DATA SCIENCE AI

Html Knowledge Test


1 - HTML stands for?1

    a )    Hypertext Markup Language
    b )    Hyper Transfer Markup Language
    c )    Hyper Tally Markup Language
    d )    None of the above



2 - What is the correct syntax to write an HTML comment?2

    a )    <!-- comment -->
    b )    #comment
    c )    /* comment */
    d )    // comment



3 - What is the effect of <b> tag?3

    a )    It is used to change the font size.
    b )    It converts the text within it to bold font.
    c )    It is used to write black colored font.
    d )    None of the above



4 - What is the function of the HTML style attribute?4

    a )    It is used to add styles to an HTML elements.
    b )    It is used to uniquely identify some specific style of some element.
    c )    None of the above
    d )    Both A and B



5 - Which of the following is the correct way of creating an hyperlink in HTML? 5

    a )    <a>www.codelines.in</a>
    b )    <a href="http://www.codelines.in">Codelines</a>
    c )    <a url="http://www.codelines.in">Codelines</a>
    d )    <a link="http://www.codelines.in">Codelines</a>