concept
Inline style
An HTML style attribute attaches CSS declarations directly to an element, without a selector or enclosing braces. Normal inline declarations outrank normal author stylesheet rules, but importance and other cascade stages can alter the result.
Formal Syntax & Structure
css syntaxcss
<p style="color: #184168;">Text</p>Working Example
Example Snippetcss
<!doctype html><html lang="en"><head><meta charset="utf-8"><title>CSS reference demo</title><style>#sample { color: #155a3d; }</style></head><body><p id="sample" style="color: #184168;">Field note</p></body></html>