Create style and not style xhtml css

Asked

Viewed 44 times

0

Long live,

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

I intend that the ". com" is bold but I don’t want to use the "em" because it’s not a paragraph.

You know how to do that?

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 that these tags, by default, already use bold.

Browser other questions tagged

You are not signed in. Login or sign up in order to post.