|1 Crore+ students have signed up on EduRev. Have you?|
What does wrap attribute denote?
wrap is the attribute of <textarea> element and it indicates whether the text should be wrapped. Syntax: <textarea wrap=””> if we use wrap=”hard” it will contain newlines in the submission of a form. This attribute is newly introduced by HTML5 and is supported by all the browsers.
Which of the following defines a default value on page load?
<button>, <li>, <progress>, <param>, <meter>, <input>, <option> are some elements used with value attribute and defines a default value on the page load. <object> element is used with many attributes like border, data, form, height etc. <area> is used with attributes like alt, cords, download, href, hreflang and many more.
Which attribute is not for overriding the actions?
formaction is used for overriding <form> 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.
What is the use of spellcheck attribute?
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>
Which parameter is commonly used for size attribute?
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>
Which attribute indicates a descending order of displaying a list?
Reverse attribute commonly use with <ol> 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.
loop attribute is not used with _____________
loop attribute is commonly use with <audio>, <bgsound>, <video>, <marquee> and denotes whether the media should start playing from the beginning when it is finished. <track> element is use with default attribute and it checks whether the track is enabled or not.
datetime attribute is not related with ______________
datetime shows the date and time related with the element. Commonly use with <del>, <time>, <ins> elements. <del> is use with cite attribute, <ins> is also use with cite attribute, <form> element is use with various attributes like accept, action, accept-charset etc.
cols attribute is use with ___________
cols indicates number of columns in a certain textarea, use with <textarea> element. <td> element is use with align attribute, <th> is also use with align attribute, <ol> is basically use with reversed attribute.
Use of checked attribute is ____________
checked is use with <command>, <input> elements and it indicates if element is checked on loading of the page or not.