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

angular - DownloadURL return null in below code -

python 2.7 - Given three nested dictionaries, sort the top two nested dictionaries from a value in the innermost dictionary? -