Hi, first of all I am really sorry if this is not the correct place to ask such a question - I did not want to post it on StackOverflow because that is a very toxic place for this type of noobie questions .
So as I was reading HTML element reference on MDN, I found that there are:
-
boolean attributes like
autoplay
,muted
,loop
, that are either true or false. -
enumerated attributes like
crossorigin
,preload
, which have predefined values.
Which led me to think what would be the proper category name for attributes like class
, id
- which can have any value assigned to them (as long as they follow some rules). Also, for completeness, are there only three categories for attributes: boolean, enumerated, and whatever class, id etc are called; or are there others as well.
Thanks a lot in advance