aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--_pastebins/2021-08-11-spaces-around-h1-tags.md43
1 files changed, 42 insertions, 1 deletions
diff --git a/_pastebins/2021-08-11-spaces-around-h1-tags.md b/_pastebins/2021-08-11-spaces-around-h1-tags.md
index 19e1c70..edbbf68 100644
--- a/_pastebins/2021-08-11-spaces-around-h1-tags.md
+++ b/_pastebins/2021-08-11-spaces-around-h1-tags.md
@@ -12,13 +12,16 @@ ref: spaces-around-h1-tags
---
+Apparently, the behaviour below is consistent between Firefox and Chromium for
+links, but not for `<h1>`.
+
```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>
+ <title>Spaces around h1 tags</title>
</head>
<body>
<main>
@@ -41,3 +44,41 @@ ref: spaces-around-h1-tags
<p>
Is this expected behaviour?
</p>
+
+---
+
+Same with links:
+
+```html
+<!DOCTYPE html>
+<html lang="en">
+ <head>
+ <meta charset="UTF-8" />
+ <meta name="viewport" content="width=device-width, initial-scale=1" />
+ <title>Spaces after a tags</title>
+ </head>
+ <body>
+ <main>
+ <p>
+ <a href="#">
+ With extra underlined space
+ </a>
+ </p>
+ <p>
+ <a href="#">Without extra underlined space</a>
+ </p>
+ </main>
+ </body>
+</html>
+```
+
+<p>
+ <a href="#">
+ With extra underlined space
+ </a>
+ after the link.
+</p>
+<p>
+ <a href="#">Without extra underlined space</a>
+ after the link.
+</p>