Decor your Web with Attribute

A Website mostly has Styles that can make visitors stay longer in a page without getting bored fastly.  Thats why using CSS will give you easly control Style on Text.
So lets try use Attribute <span>.

Example :

This is a code to make a Underline Text

<p>This is a <span style=”text-decoration: underline”>UNDERLINE TEXT</span>.</p>

This is a code to make a Italic Text using font-style

<p>This is a<span style=”font-style: italic”>ITALIC TEXT</span>.</p>

This a code to make a Bold Text

<p> This is a<span style=”font-weight: bold”>BOLD TEXT</span>.</p>

Also how to choosing use Font in span.

<p><span style=”font-family: monospace”>Example for using Monospace Font</span></p>

Leave a Reply