Skip to content

Commit f49f45c

Browse files
authored
Update README.md
1 parent ab55b19 commit f49f45c

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

README.md

+2-2
Original file line numberDiff line numberDiff line change
@@ -2,13 +2,13 @@ Demo: https://john-doe.neocities.org/
22

33
A website in a single HTML file. It simply uses the `#anchor` suffix and the `:target` CSS selector to show and hide pages/content.
44

5-
To create a new page, add a `<section>` with a unique `id`
5+
To create a new page, add a `<section>` with a unique `id`:
66
```html
77
<section id="contact">
88
Contact me!
99
</section>
1010
```
11-
Then you could add a link to it inside `<nav>`
11+
Then you could add a link to it inside `<nav>`:
1212
```html
1313
<a href="#contact">Contact</a>
1414
```

0 commit comments

Comments
 (0)