html5 - header and footer elements must be inside the .container? -


keeping html 5 elements header , footer inside .container div of bootstrap practice?

except setting padding externally when place out of .container, working both ways want know practice.

good practice have

  • <header>
  • <main>
  • <footer>

as top-level elements inside <body> of html document.

additionally, might want have

  • <nav> (principal navigation)
  • <aside> (sidebar)

as top-level elements inside <body> of html document.

of course, not practice - 1 example of practice.


Comments

Popular posts from this blog

Is there a better way to structure post methods in Class Based Views -

reflection - How to access the object-members of an object declaration in kotlin -

php - Doctrine Query Builder Error on Join: [Syntax Error] line 0, col 87: Error: Expected Literal, got 'JOIN' -