Apply a class to a br tag?

后端 未结 10 1424
感情败类
感情败类 2021-02-06 21:10

Is the following valid HTML?


As an HTML element I can\'t see why it wouldn\'t be, but I don\'t think I\'ve eve

10条回答
  •  独厮守ぢ
    2021-02-06 21:53

    One application I can think off is adding using it with pseudo-elements, such as :before or :after, for instance adding some text beneath a horizotal line:

    hr.something:after  { content: "Some text"  }
    

提交回复
热议问题