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

What is the purpose of attribute in html?

15th Mar 2020, 2:34 PM
AB Rizni
AB Rizni - avatar
2 Answers
+ 7
In general, an attribute is a characteristic. In HTML, an attribute is a characteristic of a page element, such as font size or color. Attributes are used to amplify a tag. When a Web browser interprets an HTML tag, it will also look for its attributes so that it can display the Web page's elements properly. For more information click here👇👇👇 https://www.w3schools.com/html/html_attributes.asp
15th Mar 2020, 2:40 PM
🇮🇳Abhay Pratap Singh🇮🇳
🇮🇳Abhay Pratap Singh🇮🇳 - avatar
+ 3
It's represent a contain
15th Mar 2020, 5:53 PM
SurajGuptaOnline
SurajGuptaOnline - avatar