Skip to content
← Back to Community
Running HTML Preview
Profile icon
CaraDirnberger

I am new to repl.it and am trying to run HTML files to preview. I am able to preview the index file, but not additional html files. Can someone guide me with what to do?

Voters
Profile icon
dhiaspratama29
Profile icon
iRexus
Profile icon
raccoonhop1
Profile icon
Febyian-wahyu-a
Profile icon
AnishMallah
Profile icon
GaborHajas
Profile icon
Saurabh999
Profile icon
sakawopzu
Profile icon
LSSJLlpha
Profile icon
CaraDirnberger
Comments
hotnewtop
Profile icon
DanilRafli

I love you

Profile icon
Vandesm14

You can open up the html file in another tab via first clicking the xxx.caradirnberger.repl.co link, then going to /your-page.html. Now, each time you run your repl, just tab back to the .repl.co and refresh it to get the new result.

If I answered your question: https://answered--vandesm14.repl.co

Profile icon
ChetanGupta5

Love You Bro. Your Comment helped me a lot. It works and very useful. @Vandesm14

Profile icon
hyperupcall

hi!

this is intended behavior. only the index.html will be previewed when you 'play' the repl. as others described, in your index.html, you could add a tags that link to other .html files in your project

Profile icon
DanilRafli

Kamu cantik

Profile icon
DanilRafli

Hay

Profile icon
AnastasiaSaint_

2 options:
1- add at the end of the url of the index /pagename.html
2- create a link to your second page in the first one. page2

Profile icon
kurrycat2004

There is a button to open the preview in a new tab. Just replace the index.html at the ending of the link with your filename. Unfortunately there is no way to see other html files than index.html in the preview while also seeing the code

Profile icon
Highwayman

Make index.html just be a bunch of links to the other pages...?

Page1
Page 2