Align H1 Header and Normal Text in Same Line

前端 未结 6 2098
灰色年华
灰色年华 2021-02-06 23:33

I\'m trying to have a H1 header and regular text on the same line, with a line under it, like so:

\"enter

6条回答
  •  死守一世寂寞
    2021-02-06 23:53

    Add this line border-bottom:1px solid #000

    Header

    Regular Text Goes Here

    DEMO

    Use class name instead of inline-style.

提交回复
热议问题