Apply a class to a br tag? [duplicate] May 12, 2023 by Tarik Yes. See the specification. The class attribute applies to “HTML Elements” (which includes br elements).