CSS Font Text Styles Properties

 

Heading Tags Info

You can use settings in a CSS Style Sheet to change the way your text looks using the Underline and Bold tags instead of using font tags all the time.

 

The standard bold and underline are pretty basic and do not do a lot within a customised layout. How would it look if you could change the colours, weight and the appearance of an underline, or even the strikethrough would show.

 

Here is an example of above ideas. You can change underline to look like this by using a CSS Style Sheet notice how the underline is now dashed and coloured red. You can also do a similar thing with the bold style, your text will stand out more if you could change the colour again to Bold using CSS in blue, the options are endless.

 

Use these 2 tags on keywords that are relative to your page and it could help to rank your page higher in search engines but use sparingly.

 

Underline and Bold Code

 

Below is the code, change the colours and font size to your own choice, just use the normal tags when adding to your pages.

 


<style type="text/css">
u {
font-size: 12px;
text-decoration: none;
border-bottom:1px dashed #CC0000;
}
b {
font-size: 12px;
font-weight: bold;
color: #006600;
}
</style>

 

This shows CSS Text Style in bold.
You can also go a little further by combinig both the bold and underline for your text.

 

Home  Contact