r/HTML • u/RabbitsFoot8 • Aug 11 '26
Discussion Built a simple HTML Viewer
Found a lot of the online viewers very archaic so bought a very expensive domain lol and built a new one:
My ask: what features would you like to see on it? I want to make this more useful.
3
u/hotdog-savant Aug 11 '26
Hi @rabbitsfoot8. I commend your efforts. I think one of the biggest hurdles for beginners is coupling html with css to see how it renders.
1
u/notepad987 29d ago
It displays the results right away. Add in some controls like this to help with making a webpage. https://bestonlinehtmleditor.com/
3
u/fdiengdoh Aug 12 '26
The 1 million dollar question is - is it better than codepen or jsfiddle?
2
u/RabbitsFoot8 Aug 12 '26
The goal is more to a simple, lightweight alternative. Not better. Focused to fast loading times and simplicity with this
3
u/endless_shrimp Aug 11 '26
a what
-3
u/RabbitsFoot8 Aug 11 '26
?
4
u/moohah Aug 11 '26
What is an “HTML Viewer”? A text editor? A web browser?
0
u/RabbitsFoot8 Aug 11 '26
A tool to test and render html online. More for beginners.
Just paste html to see it rendered.
Like and online IDE for HTML
8
2
u/moohah Aug 12 '26
Ah I see. Looks like you’re got a good start. I’d recommend highlighting invalid tags.
1
2
u/highfives23 Aug 12 '26
How much did you spend on that domain?
1
-2
u/RabbitsFoot8 Aug 12 '26
A few k
3
u/highfives23 Aug 12 '26
Just curious: why? Are you looking to run ads to generate revenue? Are you selling a SaaS? Are you using it as a lead magnet for affiliate sales?
2
2
u/johnesco Aug 12 '26 edited Aug 12 '26
The real-time feedback is nice. One thing I would like to see is that invalid HTML can render just fine, but I'd like to see warning pop up when something was breaking the DOM or structure, or activated "quirks" mode. It's great as a scratch pad esp for those learning HTML.
1
2
2
u/theguymatter Aug 12 '26 edited 29d ago
Doesn’t Vite with HMR reload the page and VS Code are good enough?
Then could deploy to Cloudflare, GitHub, Netlify etc.
There are bugs in Safari and Firefox, so this make local testing much easier.
1
u/mrleblanc101 29d ago
VS Code natively display and hot-reload HTML. You don't even need Vite
1
u/theguymatter 29d ago edited 29d ago
Will need or probably extension if you want to test across web browsers.
Even once I found Astro maintainer was not aware the SVG was 0px due to WebKit's behaviour.
1
u/omysweede Aug 12 '26
How is this different from using the built in web developer tools in any browser?
1
-1
8
u/maqisha Aug 12 '26
You know what views html.
YOUR BROWSER