+ 1

What is attribute?

15th Sep 2016, 12:12 PM
Nipun Patra
3 Answers
+ 2
Attributes are properties that html element may have and that you can change. For example: <p align="center" style="color: red">Hello</p> align and style are attributes here.
15th Sep 2016, 12:49 PM
Zen
Zen - avatar
+ 1
Attribute provides additional information about an element or tag.
3rd Oct 2016, 4:08 PM
Tochukwu Joshua Okoroafor
Tochukwu Joshua Okoroafor - avatar
0
each attribute has a purpose, "id" is for identification, ( so you can interact with that tag by that 'id' ), style (for changing color, font, etc), class ( for making a group of identifiers) , acceskey (this allows you to acces to that tag by a key). So we can say a attribute is a feature of that tag, actually the answer of joshua is quite good. I speak spanish, i'm learning english. May be my answer has ortographic erros 😂
8th Jan 2017, 3:01 PM
Victor Suarez
Victor Suarez - avatar