I have a headline:
<h1>THIS IS A HEADLINE</h1>
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.
I have a headline:
<h1>THIS IS A HEADLINE</h1>
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.
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)But be sure that h1 is marked with
You can also set the style with a id or class attribute.
style is accordingly vis css. An example
Try
font-weight:normal;
you can simply do like that in the html part:
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 theh1
tags in Firefox are bolder, sorry.