CreateaFreeWebsite  with Responsive Web Design

Inline Style Sheets

The inline style tag or attribute looks like this:
style=""

The tag is placed right in the code on the web page, thus inline.

Inline style sheets will override both linked and embedded settings.

Inline style sheets use the same construction method of selector and declaration explained in Style Sheets, without the curly brackets.

<selector style="attribute: value">paragraph</selector>

<p style="font-style: oblique; font-weight: 700">paragraph</p>

Altering Single Words and Phrases Within Other Elements

The <span></span>span tag can be used with inline style tags to alter words or phrases within h1-h6 elements, paragraphs, list items, tec..

<p>The desired information is found on <span STYLE="font-style:oblique; color: #ff0000">Page 1</span> of the manual.</p>

Inline Style Sheet Examples

They can be used with just about any web page element:

<p style="color: red"></p>
<h1 style="font-size: 18px"></h1>
<div style="background: #ffcccc"></div>
<blockquote style="margin: 1% 5%"></blockquote>
<img src="imagename" style="box-shadow: none">

 

Free Tools We Recommend