Can you use custom attributes? Yes.
Does it make your html invalid to a standards parser? Yes.
1 Like
You can make them valid by using data- in front of custom attributes as long as there are no capitals.
data-openregistermodal
1 Like