summaryrefslogtreecommitdiff
path: root/Holy Grail Layout.md
diff options
context:
space:
mode:
Diffstat (limited to 'Holy Grail Layout.md')
-rw-r--r--Holy Grail Layout.md24
1 files changed, 24 insertions, 0 deletions
diff --git a/Holy Grail Layout.md b/Holy Grail Layout.md
new file mode 100644
index 0000000..480556a
--- /dev/null
+++ b/Holy Grail Layout.md
@@ -0,0 +1,24 @@
+---
+tags:
+ - html
+ - web
+---
+![[Pasted image 20250506224453.png]]
+
+```
+<body>
+ <header>Header</header>
+ <nav>Nav</nav>
+ <main>
+ <article>First post</article>
+ <article>Second post</article>
+ </main>
+ <aside>Aside</aside>
+ <footer>Footer</footer>
+</body>
+```
+
+Main: 1 per page; main contnet
+Aside: tangentially related content; complementary
+Article: represents a completely standalone piece of content, reusable.
+Section: Used if no more specific element exists; should have a heading most of the time. \ No newline at end of file