| ▲ | neilv 3 days ago | ||||||||||||||||||||||||||||||||||
One way to get to this is to start with almost-'94 HTML:
Then add a little non-'94 CSS styling.If you decide to add an off-the-shelf wad of CSS, like Pico.css, consider hosting it alongside your HTML (rather than turning it into another third-party dependency and CDN cross-site surveillance tracker). Minified, and single-request. | |||||||||||||||||||||||||||||||||||
| ▲ | divbzero 3 days ago | parent | next [-] | ||||||||||||||||||||||||||||||||||
This should be every web developer’s first webpage. No npx create-react-app ... or pip install django or any other layers in between. | |||||||||||||||||||||||||||||||||||
| ▲ | theandrewbailey 2 days ago | parent | prev | next [-] | ||||||||||||||||||||||||||||||||||
HTML5 boilerplate: https://github.com/h5bp/html5-boilerplate/blob/main/src/inde... | |||||||||||||||||||||||||||||||||||
| |||||||||||||||||||||||||||||||||||
| ▲ | nicbou 3 days ago | parent | prev | next [-] | ||||||||||||||||||||||||||||||||||
It's really that simple. I run a website that's primarily text-based. When I change the base template, I still check that it works without CSS. This just means semantic HTML. That being said, CSS is rarely that large. Even after a few years of relative indulgence, the gzipped CSS for the whole website is still something like 20kb. | |||||||||||||||||||||||||||||||||||
| ▲ | valadaptive 3 days ago | parent | prev [-] | ||||||||||||||||||||||||||||||||||
I always include `<meta charset="utf-8">`. Is that still necessary? | |||||||||||||||||||||||||||||||||||
| |||||||||||||||||||||||||||||||||||