Apply a class to a br tag?
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" }
Yes.
See the specification.
The class
attribute applies to "HTML Elements" (which includes br
elements).