0
I’m using Bootstrap 4 for my frontend and I was wondering if I should always put all my HTML content inside a div with class col
that in turn should come within a div with class row
.
For example, it should always be like this:
<div class="container">
<div class="row">
<div class="col">
<h1>Todo meu conteúdo deve ficar aqui?</h1>
</div>
</div>
</div>
Or so is acceptable:
<div class="container">
<h1>Conteúdo fora da div com classe "col"</h1>
<div class="row">
<div class="col">
Mais conteúdo...
</div>
</div>
</div>
row
refers to the line andcol
the column, it is advised to use the content within the cols in this way that you posted, not all content of course, but of what you want to be displayed in that column.– Douglas Teles