Do these classes have inherent qualities? Or are they just names? In other words, does using “container” do anything or is it just a name? I see .container styled in the CSS. So I’m just wondering if “container” could be replaced with any name.
If “container” doesn’t carry any inherent importance, do any other classes do? Thanks
Hi @El_Escandalo, in this case you write all the HTML and CSS yourself so container is just a name and you can replace it with other name of your choice.
In CSS framework like Bootstrap(somebody wrote the CSS for you to use), class container do carries some CSS with it.
Like the others have said, a class of container usually means you’re dealing with bootstrap, which has added a bunch of CSS to manage objects within that container.
As for the other part of your question, no there are no “built-in” classes in HTML, i.e. names with special meanings. When HTML wants to define a new built-in behavior, they define new tags and CSS properties instead.