Inline CSS declared directly on an element.
- Category: HTML Attributes — part of the HTML Tutorial on GoCareerGo
- Read the short summary above, then check the linked docs for full syntax/behaviour
- Interview tip: be ready to explain "The style Attribute" in one sentence, then back it up with a tiny example
<!-- The style Attribute -->
<div>
<!-- see MDN for the full attribute/tag reference -->
</div>Tip
Quick recall: "The style Attribute" — inline CSS declared directly on an element.