Some work, some don't. It depends partly on what browser you are using.
A tag attribute is information contained within a tag.
For example the previous pages have discussed attribues of the
<span>
tag. For example
<span style="color:red">
gives the style
attribute the value "color:red"
.
The values should always be enclosed in quotations marks.
Usually HTML will work if you skip the quote marks,
but you may get into trouble later on.
Only the first tag of a pair of tags contains attributes. Most tags have several attributes. If you don't mention an attribute, you get its default value. You can list more than one attribute within the tag (as above.)
If you specify an attribute that a tag does not support, what (do you think) will happen? For example,
<p color="red"> Some Paragraph<p>