Skip to content

Commit 4311b36

Browse files
Merge pull request #538 from Rotzbua/fix_slash_void_element
fix(docs): remove trailing slash from html5 void elements
2 parents bbe3cdd + f15bde6 commit 4311b36

File tree

1 file changed

+8
-8
lines changed

1 file changed

+8
-8
lines changed

README.md

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -55,15 +55,15 @@ There are 4 ways to get started with pico.css:
5555
[Download Pico](https://github.com/picocss/pico/archive/refs/heads/main.zip) and link `/css/pico.min.css` in the `<head>` of your website.
5656

5757
```html
58-
<link rel="stylesheet" href="css/pico.min.css" />
58+
<link rel="stylesheet" href="css/pico.min.css">
5959
```
6060

6161
### Usage from CDN
6262

6363
Alternatively, you can use [jsDelivr CDN](https://www.jsdelivr.com/package/npm/@picocss/pico) to link pico.css.
6464

6565
```html
66-
<link rel="stylesheet" href="https://cdn.jsdelivr.net/npm/@picocss/pico@2/css/pico.min.css" />
66+
<link rel="stylesheet" href="https://cdn.jsdelivr.net/npm/@picocss/pico@2/css/pico.min.css">
6767
```
6868

6969
### Install with NPM
@@ -98,7 +98,7 @@ composer require picocss/pico
9898
<head>
9999
<meta charset="utf-8">
100100
<meta name="viewport" content="width=device-width, initial-scale=1">
101-
<meta name="color-scheme" content="light dark" />
101+
<meta name="color-scheme" content="light dark">
102102
<link rel="stylesheet" href="css/pico.min.css">
103103
<title>Hello world!</title>
104104
</head>
@@ -131,7 +131,7 @@ Or use the `.fluid.classless` version if you need a fluid container:
131131
<link
132132
rel="stylesheet"
133133
href="https://cdn.jsdelivr.net/npm/@picocss/pico@2/css/pico.fluid.classless.min.css"
134-
/>
134+
>
135135
```
136136

137137
Then just write pure HTML, and it should look great:
@@ -140,13 +140,13 @@ Then just write pure HTML, and it should look great:
140140
<!doctype html>
141141
<html lang="en">
142142
<head>
143-
<meta charset="utf-8" />
144-
<meta name="viewport" content="width=device-width, initial-scale=1" />
145-
<meta name="color-scheme" content="light dark" />
143+
<meta charset="utf-8">
144+
<meta name="viewport" content="width=device-width, initial-scale=1">
145+
<meta name="color-scheme" content="light dark">
146146
<link
147147
rel="stylesheet"
148148
href="https://cdn.jsdelivr.net/npm/@picocss/pico@2/css/pico.classless.min.css"
149-
/>
149+
>
150150
<title>Hello, world!</title>
151151
</head>
152152
<body>

0 commit comments

Comments
 (0)