Does HTML have a block class?

Does HTML have a block class?
0

#1

I’m looking at a codepen and see that there’s a class called block. I can’t find any information on it and I have looked to see if any HTML classes were added to the code pen. Does HTML have a block class and if so, what does it do?


#3

Yep, HTML implements classes, but it doesn’t give a crap about them after they’re assigned to an element. You could have <img class="textarea"> and <body class="button"> for all HTML cares, but unless you do something with those classes in your CSS or JavaScript, they won’t affect the appearance or behavior of your page one bit.