+ 2
What is speciality of attributes??
advantage of using it
4 Réponses
+ 2
From "HTML Basics: Attributes"
Attributes provide additional information about an element or a tag, while also modifying them. Most attributes have a value; the value modifies the attribute.
+ 1
attributes are the used to change the value of an element.these are used to design the contents of the web page in your required format....
such as alignment of paragraph to centre.
it is mainly described as name value pairs
+ 1
In simple words,
Attributes gives superpower to <tags>.
Some attributes differentiate tags.
Some tags have attributes some haven't.
Some attributes are mandatory some aren't.
- 2
Attributes provide additional information about an element or a tag, while also modifying them. Most attributes have a value; the value modifies the attribute.