Tuesday, June 10, 2014

The In-line ways to apply CSS to HTML


CSS In-line designs square measure plonked straight into the HTML tags victimization the design attribute.

They look one thing like this:

<p style="color: red">text</p>

This will build that specific paragraph red.

But, if you bear in mind, the best-practice approach is that the HTML thought to be a complete, presentation free document, so in-line designs thought to be avoided where attainable.

No comments:

Post a Comment