<h1 style=”color:green;font-size:12px;”>Example heading</h1>
This approach works identically to any other HTML attribute, in the sense that it follows the same pattern of: attributename=“attributeValue”
You will notice how you can chain multiple styles together after each semi-colon. As the style is inline and applied directly to the element, we don’t need a selector or any curly braces. This approach can become extremely messy, very quickly, especially when working on elements with multiple style rules. Use this approach sparingly, if at all.