+ 6

Global and Event attributes

Can anybody tell me difference between global attributes and event attributes??? Happy coding🤓

7th Oct 2020, 1:55 AM
Superone_S
Superone_S - avatar
2 Respostas
+ 17
Hey Superone_S Global attribute are those attributes that any element can have, e.g the "id" and the "class" attributes Event attributes are attributes which specify what to do what an event occurs to that element, usually just calls a function e g the onclick="" attribute Hope that helps and have a great day!
7th Oct 2020, 2:26 AM
Vachila64☕
Vachila64☕ - avatar
+ 3
Thanks Vachila64☕
7th Oct 2020, 3:28 AM
Superone_S
Superone_S - avatar