Html miscellaneous


  1. Which attribute indicates a descending order of displaying a list?











  1. View Hint View Answer Discuss in Forum

    NA

    Correct Option: D

    Reverse attribute commonly use with

      element. It indicates that if the list is to be displayed in descending order instead of ascending order or not. There is no reference for options like forward, straight and circular in HTML.


  1. Which parameter is commonly used for size attribute?











  1. View Hint View Answer Discuss in Forum

    NA

    Correct Option: A

    Size is an attribute commonly used with <input> and <select> element, it defines the width of element in pixels. If we have password or text as attribute then it will be count number of characters. Sizes is a attribute use with <link>, <source>, <img>



  1. What is the use of spellcheck attribute?











  1. View Hint View Answer Discuss in Forum

    NA

    Correct Option: C

    spellcheck is a global attribute, it indicates if spell checking is allowed or not for the element. Syntax is

    <p contenteditable=”true” spellcheck=”true”> William Shakespeare was a great novelist. </p>


  1. srclang attribute is used with the element ____________.











  1. View Hint View Answer Discuss in Forum

    NA

    Correct Option: D

    srclang attribute is used with <track>. It specifies the language of text. E.g <track src=”xyz.ogg” srclang=”en” label=”English”>, <input> is used with many attributes like accept, alt, async, autocomplete, autofocus, checked, dirname, disabled, form, formaction, height, list and many more.



  1. Which attribute is not for overriding the actions?











  1. View Hint View Answer Discuss in Forum

    NA

    Correct Option: A

    formaction is used for overriding

    action, style is a global attribute that overrides previously set styles, tabindex is also a global attribute which overrides default tab order. A slot is a global attribute which assigns a slot in a shadow.