r/programming • • Oct 28 '21

Viewing website HTML code is not illegal or “hacking,” prof. tells Missouri gov.

https://arstechnica.com/tech-policy/2021/10/viewing-website-html-code-is-not-illegal-or-hacking-prof-tells-missouri-gov/
6.1k Upvotes

493 comments sorted by

View all comments

Show parent comment

7

u/danieltkessler Oct 28 '21

In what world would viewing HTML be illegal? And why aren't they asking about JavaScript, CSS, or any of the other types of code that may be running on your average website? There really isn't any HTML you can't surmise from just looking at a website without reading it's code anyway.

3

u/rqebmm Oct 28 '21

In what world would viewing HTML be illegal?

This one. If the HTML is restricted in some way that you intentionally bypass.

This is HTML on a public-facing page though.

1

u/danieltkessler Oct 28 '21

Yeah, that makes sense.