+ 6
Global and Event attributes
Can anybody tell me difference between global attributes and event attributes??? Happy coding🤓
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!
+ 3
Thanks Vachila64☕