Apply a class to a br tag?

后端 未结 10 1420
感情败类
感情败类 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:55

    Sure, it's valid. A useful example would be if you wanted to visually add a little space after a line-break, without ending the paragraph. Or perhaps apply a background image. All sorts of styling options.

提交回复
热议问题