HTML Layout
Build common page layouts using semantic sections and simple CSS
Basic Single‑Column Layout
When to use:
Single‑column layouts are perfect for simple pages such as blog posts, documentation, and landing pages, especially on mobile devices where vertical scrolling is natural.
Structure:
<header>with logo and navigation.<main>containing the page content.<footer>for copyright and links.
HTML Skeleton:
<body>
<header>Header content</header>
<main>Main content</main>
<footer>Footer content</footer>
</body>
Two‑Column Layout (Content + Sidebar)
Many websites use a main content area with a sidebar for related links, navigation or advertisements. The HTML structure stays simple and the visual layout is handled by CSS or frameworks like Bootstrap.
Example Structure:
<main>
<article>Main article content</article>
<aside>Sidebar with links</aside>
</main>