Create style and not stylize xhtml css

0

Live,

I'm trying to create a title from type: Shopping .com

I want ".com" to be in bold but I do not want to use "em" because it is not a paragraph.

Do you know how to do this?

    
asked by anonymous 26.07.2014 / 17:18

1 answer

1

Use CSS:

Style sheet:

.destaque {
    font-weight:bold;
}

HTML:

Compras<span class="destaque"> .com</span>

Also note that html has title tags <h1> <h2> , etc, and these tags, by default, already use bold.

    
26.07.2014 / 23:55