aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorGuilhem Moulin <guilhem@fripost.org>2024-02-07 13:56:07 +0100
committerGuilhem Moulin <guilhem@fripost.org>2024-02-07 13:56:07 +0100
commit6f2144abe08978246c9fc0fa0f20489bf4a449f3 (patch)
tree1695f8d5709aa15528d44847b64fbe9e45e10923
parent95447aa5cf56f1d1cbde49978378db261b94c7c7 (diff)
HTML: Remove trailing slashes from void elements.
Cf. https://github.com/validator/validator/wiki/Markup-%C2%BB-Void-elements#trailing-slashes-directly-preceded-by-unquoted-attribute-values
-rw-r--r--example.html6
-rw-r--r--index.html4
2 files changed, 5 insertions, 5 deletions
diff --git a/example.html b/example.html
index 82bbf23..5dd0e01 100644
--- a/example.html
+++ b/example.html
@@ -1,10 +1,10 @@
<!DOCTYPE html>
<html lang="sv">
<head>
- <meta charset="UTF-8" />
- <meta name="viewport" content="width=device-width, initial-scale=1.0" />
+ <meta charset="UTF-8">
+ <meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>Hemsida</title>
- <link rel="stylesheet" href="/style2.css" />
+ <link rel="stylesheet" href="/style2.css">
</head>
<body>
<div id="wrapper">
diff --git a/index.html b/index.html
index 801dbe4..2b9664c 100644
--- a/index.html
+++ b/index.html
@@ -1,8 +1,8 @@
<!DOCTYPE html>
<html lang="sv">
<head>
- <meta charset="UTF-8" />
- <meta name="viewport" content="width=device-width, initial-scale=1.0" />
+ <meta charset="UTF-8">
+ <meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>Exploatering i Norr</title>
</head>
<body>