how to remove the bold from a headline?

后端 未结 9 1548
半阙折子戏
半阙折子戏 2021-02-06 20:11

I have a headline:

THIS IS A HEADLINE

How do i make the phrase \"THIS IS...\" not to be bold and the rest without a change

相关标签:
9条回答
  • 2021-02-06 20:44

    Try font-weight:normal;

    h1 {
        font-weight: normal;
    }
    
    0 讨论(0)
  • 2021-02-06 20:56
    <h1><span style="font-weight:bold;">THIS IS</span> A HEADLINE</h1>
    

    But be sure that h1 is marked with

    font-weight:normal;
    

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

    0 讨论(0)
  • 2021-02-06 20:58

    style is accordingly vis css. An example

    <h1 class="mynotsoboldtitle">Im not bold</h1>
    <style>
    .mynotsoboldtitle { font-weight:normal; }
    </style>
    
    0 讨论(0)
提交回复
热议问题