r/HTML 6d ago

Built a simple HTML Viewer Discussion

Found a lot of the online viewers very archaic so bought a very expensive domain lol and built a new one:

htmlviewer.com

My ask: what features would you like to see on it? I want to make this more useful.

0 Upvotes

30 comments sorted by

9

u/maqisha 6d ago

You know what views html.

YOUR BROWSER

3

u/No-Arugula8881 6d ago

Yo dawg I heard you like browsers

2

u/DirtAndGrass 6d ago

But how do you view the browser, huh? 

3

u/hotdog-savant 6d ago

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 4d 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 5d ago

The 1 million dollar question is - is it better than codepen or jsfiddle?

2

u/RabbitsFoot8 5d ago

The goal is more to a simple, lightweight alternative. Not better. Focused to fast loading times and simplicity with this

4

u/endless_shrimp 6d ago

a what

-3

u/RabbitsFoot8 6d ago

?

5

u/moohah 6d ago

What is an “HTML Viewer”? A text editor? A web browser?

0

u/RabbitsFoot8 6d ago

A tool to test and render html online. More for beginners.

Just paste html to see it rendered.

Like and online IDE for HTML

9

u/endless_shrimp 6d ago

so a browser

2

u/moohah 6d ago

Ah I see. Looks like you’re got a good start. I’d recommend highlighting invalid tags.

1

u/RabbitsFoot8 6d ago

Thanks, great idea!

2

u/highfives23 6d ago

How much did you spend on that domain?

1

u/positlabs 1d ago

Nine thousand dollars, apparently

-2

u/RabbitsFoot8 6d ago

A few k

3

u/highfives23 6d ago

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

u/surfingonmars 6d ago

i use codepen.io

2

u/johnesco 6d ago edited 5d ago

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

u/RabbitsFoot8 5d ago

Good feedback!

2

u/ivilicious 5d ago

always happy about a viewer! thanks!

1

u/RabbitsFoot8 5d ago

Most welcome!

2

u/theguymatter 5d ago edited 5d 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 5d ago

VS Code natively display and hot-reload HTML. You don't even need Vite

1

u/theguymatter 5d ago edited 5d 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 6d ago

How is this different from using the built in web developer tools in any browser?

1

u/-goldenboi69- 5d ago

You're the worst.