Html miscellaneous


  1. Which of the following type attributes of input element defines control for entering a telephone number?











  1. View Hint View Answer Discuss in Forum

    NA

    Correct Option: A

    The input element with a type attribute whose value is “tel” represents a one-line plain-text edit control for entering a telephone number.


  1. Which type attribute of input element sets the element’s value to a string representing a number?











  1. View Hint View Answer Discuss in Forum

    NA

    Correct Option: C

    The input element with a type attribute whose value is “range” represents an imprecise control for setting the element’s value to a string representing a number.



  1. A ____________ element must have a start tag but must not have an end tag.











  1. View Hint View Answer Discuss in Forum

    NA

    Correct Option: A

    The command tag is new in HTML5 and specifies a normal command with an action. Details has end tag.


  1. The interactive element audio with the attribute controls must not appear as a descendant of which element?











  1. View Hint View Answer Discuss in Forum

    NA

    Correct Option: C

    The anchor and the button tag acts as link which cannot be a parent of audio element.



  1. The __________ element represents a span of text that is isolated from its surroundings for the purposes of bidirectional text formatting.











  1. View Hint View Answer Discuss in Forum

    NA

    Correct Option: D

    The base Url target relative to all URL’s in document is specified by base tag in html. B is for bold text representation. bdi stands for Bi-directional Isolation. This element is useful when embedding user-generated content with an unknown directionality. Direction of text is displayed by bdo element.