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