aboutsummaryrefslogtreecommitdiff
path: root/_pastebins
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--_pastebins/2021-08-11-spaces-around-h1-tags.md35
1 files changed, 35 insertions, 0 deletions
diff --git a/_pastebins/2021-08-11-spaces-around-h1-tags.md b/_pastebins/2021-08-11-spaces-around-h1-tags.md
new file mode 100644
index 0000000..f9a0955
--- /dev/null
+++ b/_pastebins/2021-08-11-spaces-around-h1-tags.md
@@ -0,0 +1,35 @@
+---
+
+title: Spaces around h1 tags
+
+date: 2021-08-11
+
+layout: post
+
+lang: en
+
+ref: spaces-around-h1-tags
+
+---
+
+```html
+<!DOCTYPE html>
+<html lang="en">
+ <head>
+ <meta charset="UTF-8" />
+ <meta name="viewport" content="width=device-width, initial-scale=1" />
+ <title>Spaces aroung h1 tags</title>
+ </head>
+ <body>
+ <main>
+ <h1>
+ With spaces around when selecting this heading
+ </h1>
+ <h1>Without spaces around</h1>
+ <p>
+ Is this expected behaviour?
+ </p>
+ </main>
+ </body>
+</html>
+```