by neilv · 10mo ago · 0 comments
<!doctype html>
<html>
<head>
<title>Some Topic</title>
</head>
<body>
<h1>Some Topic</h1>
<p>Information goes here.</p>
<p>Information goes here.</p>
<p>Information goes here.</p>
</body>
</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.
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.
<!doctype html>
<title>Hello</title>
<h1>Hello World</h1>