Inline CSS

Google Advertisements

Prev Tutorial Next Tutorial

Inline Styles Sheet

Inline CSS is used with any elements of Html where it is used on page. Here we use inline css for paragraph, the example shows how to change the color and the left margin of a paragraph:

Example of inline css for <p> tag

Example

<html>
<body>
<p style="color:red; margin-left:20px">This is paragraph.</p>
</body>
</html>

Result

This is paragraph.

Example of inline css for <h1> tag

Example

<html>
<body>
<h1 style="color:green; font-size:20px">This is h1 Heading.</h1>
</body>
</html>

Result

This is h1 Heading.

For using inline css we need style attribute to set all the properties of Html elements(<p>, <body>, <img>).

Advantage of inline css

  • Less Loading time
Inline CSS

Watch this Video

Always prepare before you make a choice. There is so much info about africansermonsafaris at http://africansermonsafaris.com/category/mount-kilimanjaro-climbing/.


Prev Tutorial Next Tutorial

Google Advertisements

Buy This Ad Space @$20 per Month, Ad Size 600X200 Contact on: [email protected] or 8076671483

Pure VPN Privide Lowest Price VPN Just @ $1.65. Per Month with Non Detected IP Lowest Price Non Detected IP VPN

Magenet is best Adsense Alternative here we earn $2 for single link, Here we get links ads. Magenet

Download Projects

Media.net Advertisements


Buy Websites 9999595223

Buy Fresh and Payment Receive Media.net Account with Website. Contact on: [email protected] or 9999595223 Try this Keyword C++ Programs