diff options
author | Guilhem Moulin <guilhem@fripost.org> | 2024-02-07 13:56:07 +0100 |
---|---|---|
committer | Guilhem Moulin <guilhem@fripost.org> | 2024-02-07 13:56:07 +0100 |
commit | 6f2144abe08978246c9fc0fa0f20489bf4a449f3 (patch) | |
tree | 1695f8d5709aa15528d44847b64fbe9e45e10923 | |
parent | 95447aa5cf56f1d1cbde49978378db261b94c7c7 (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.html | 6 | ||||
-rw-r--r-- | index.html | 4 |
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"> @@ -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> |