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

What is the role of an attribute in html?

11th Jul 2018, 3:23 PM
Lipsa Mohanty
Lipsa Mohanty - avatar
2 Answers
11th Jul 2018, 3:33 PM
Lipsa Mohanty
Lipsa Mohanty - avatar
+ 6
Hello, lipsa ! Attributes in HTML are service structures inside tags that extend their capabilities. They are used in completely different tasks and their mastering and proper use is very important. In general, if you disassemble all the attributes, you can divide them into several categories: Attributes with a value Attributes without value Universal Specials Eventing They are all different, but their syntax is almost the same everywhere.
11th Jul 2018, 3:28 PM
Alexander Sokolov
Alexander Sokolov - avatar