1 Crore+ students have signed up on EduRev. Have you? |
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.
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.
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>
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 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 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 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.
checked is use with <command>, <input> elements and it indicates if element is checked on loading of the page or not.
14 videos|31 docs|24 tests
|
Use Code STAYHOME200 and get INR 200 additional OFF
|
Use Coupon Code |
14 videos|31 docs|24 tests
|
|
|
|
|
|
|
|
|
|