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 -

performance - Why is XCHG reg, reg a 3 micro-op instruction on modern Intel architectures? -

jquery - Responsive Navbar with Sub Navbar -