[css] how to remove the bold from a headline?

I have a headline:


How do i make the phrase "THIS IS..." not to be bold and the rest without a change? couldn't find any relevent tag in text-decoration.

This question is related to css xhtml

The answer is

you can simply do like that in the html part:

<span>Heading Text</span>

and in the css you can make it as an h1 block using display:


you will get it as a h1 without bold ,
if you want it bold just add this to the css:


You can use font-weight:100 or lighter: this is working with i.e. Opera 16 and older, but I do not know why the h1 tags in Firefox are bolder, sorry.

for "THIS IS" not to be bold - add <span></span> around the text

<h1>><span>THIS IS</span> A HEADLINE</h1>

and in style

h1 span{font-weight:normal}

<h1><span>This is</span> a Headline</h1>

h1 { font-weight: normal; text-transform: uppercase; }
h1 span { font-weight: bold; }

I'm not sure if it was just for the sake of showing us, but as a side note, you should always set uppercase text with CSS :)

Try font-weight:normal;

h1 {
    font-weight: normal;

<h1><span style="font-weight:bold;">THIS IS</span> A HEADLINE</h1>

But be sure that h1 is marked with


You can also set the style with a id or class attribute.

You want font-weight, not text-decoration (along with suitable additional markup, such as <em> or <span>, so you can apply different styling to different parts of the heading)

style is accordingly vis css. An example

<h1 class="mynotsoboldtitle">Im not bold</h1>
.mynotsoboldtitle { font-weight:normal; }