What is a attribute | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
+ 1

What is a attribute

15th Aug 2016, 10:39 AM
RAM KUMAR MISHRA
2 Answers
+ 1
attributes are the limitations of the tag for example a body tag which background color is red then bgcolor is a attribute not red red is value of attribute
15th Aug 2016, 7:05 PM
Gajarajan K
Gajarajan K - avatar
0
HTML5 Attributes HTML5 added the following attributes for <input>: autocomplete autofocus form formaction formenctype formmethod formnovalidate formtarget height and width list min and max multiple pattern (regexp) placeholder required step and the following attributes for <form>: autocomplete novalidate From http://www.w3schools.com/htmL/html_form_attributes.asp
15th Aug 2016, 4:40 PM
Rubalu
Rubalu - avatar