3 ms·
Much HTML and CSS nowadays is not really readable, but minified or obfuscated. It's not the 1990s where reading other people's static HTML was a good way to lea
by jordigh 11y ago
Much HTML and CSS nowadays is not really readable, but minified or obfuscated. It's not the 1990s where reading other people's static HTML was a good way to learn how to make your own websites.
- madeofpalk 11y agoEh. HTML and CSS is the easy part - you can't really obfuscated, only minify it to remove whitespace, which is easily reversible. All great browser dev tools have built in ways to unminify web assets. And it's even easier for HTML and CSS as they're easily viewable in parsed form (DOM).
- jordigh 11y agoMy point is that HTML and CSS rarely is "source code" these days, (i.e. "the preferred form for modification") but the output of a tool. Back when we were using assemblers instead of compilers, assembly was considered source code, but now it's an opaque object. It is most HTML and CSS these days: opaque objects. If nothing else, the identifiers and CSS selectors can be easily obfuscated.
- ashitlerferad 11y agoCSS is often compiled from other languages like SASS. HTML is often built from complicated templates.