Html miscellaneous
- Which attribute indicates a descending order of displaying a list?
-
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.
- Which parameter is commonly used for size attribute?
-
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>
- What is the use of spellcheck attribute?
-
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>
- srclang attribute is used with the element ____________.
-
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.
- Which attribute is not for overriding the actions?
-
View Hint View Answer Discuss in Forum
NA
Correct Option: A
formaction is used for overriding