Update README.md

This commit is contained in:
Joost van der Schee 2022-12-08 11:18:59 +01:00 committed by GitHub
parent c686bfe80d
commit ace27d85c1
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 2 additions and 2 deletions

View File

@ -4,13 +4,13 @@ Demo: https://john-doe.neocities.org/
A website in a single HTML file. It simply uses the #anchor suffix and the :target CSS selector to show and hide pages/content.
To create a new page, add a <section> with a unique id:
To create a new page, add a &lt;section&gt; with a unique id:
```
<section id="contact">
Contact me!
</section>
```
Then you could add a link to it inside <nav>:
Then you could add a link to it inside &lt;nav&gt;:
```
<a href="#contact">Contact</a>