205k views
0 votes
What are attributes and what role do they play with in a HTML document?

User Mslliviu
by
7.3k points

1 Answer

3 votes

Answer:

HTML attributes are special words used inside the opening tag to control the element's behavior. HTML attributes are a modifier of an HTML element type. An attribute either modifies the default functionality of an element type or provides functionality to certain element types unable to function correctly without them.

Step-by-step explanation:

User Ridwan Ajibola
by
6.8k points