An inline style affects only the element to which the style is applied.
An inline style sheet is applied to an individual element on a page. Inline styles affect only the contents of the single occurrence of the element you have selected, without affecting content on the rest of the page.
You apply an inline style directly to an element, affecting everything that is contained within that element. For example, if all of your H1 elements are blue, but there's one that you want to appear red, you'd apply the following inline style rule to that H1 element:
<h1 >Heading</h1>