Ask coding questions

← Back to all posts
HTML
PythonCoder100 (8)

In HTML, how do you add a subpage to your website?

Commentshotnewtop
ArchieMaclean (750)

Click the add file button:

And name it about.html or similar. Then you can write some HTML in it.
Then in your index.html, you can add

<a href="about.html">About</a>

to add a link to that page.
Please upvote if this helps :)

Zeune (17)

Make your other html page that you want to refer to. Then, use this code

<a href ="test.html">Hello World</a>

replace "test.html" with your file and then you can also replace "Hello World" with the link text.