Adding New Pages

On Repl, add a new file. Name it whatever you want it to be, but makes sure it ends with the text ".html".

Make the name relevant.

Click on the new file, and copy-paste the following code in:

Replace "Blank Page" with an appropriate title for your website. Fill in the <main> tags using the elements we have already talked about: <p> elements, <h1> through <h6> elements, <img> and <video> elements, etc. Build your second webpage (part of your main site).

Repeat this for one or two more pages. Don't go too in depth, just put a couple of elements so you can move on. You can add more stuff to your pages later.

Last updated

Was this helpful?