What are all the attributes and when do we use them?

Is there a list of all the available attributes and their individual descriptions ?How do we determine when to use a particular Attribute?

MDN always has good documentation, for example for image:


it list all the possible attributes of the image element. Some attributes are element specific.

difficult to answer, if i needing styling on my paragraph, i could see i the documentation there is a style attribute (css would be better, this is just an example)

1 Like