Better HN
top
new
best
ask
show
jobs
Log in
Sign up
Better HN
Comment
by
valadaptive
· 11mo ago · 0 comments
I always include `<meta charset="utf-8">`. Is that still necessary?
Comments
[–]
genewitch
11mo ago
you don't even need `<!doctype html>`. I'm sure it's easy to look up when that was added/recommended, but i've never used it when i do a 94 html page/site like this. html head title /title /head body /body /html 'sit
[–]
qznc
11mo ago
Minimal valid HTML5:
<!doctype html> <title>Hello</title> <h1>Hello World</h1>
[–]
neilv
11mo ago
That particular doctype is HTML5. I was making a too-subtle joke about slapping it on '94 HTML.
[–]
neilv
11mo ago
I also do that and a couple other things. I used mostly '94 HTML for the comment, to try to make a point.
[–]
kxrm
11mo ago
if the server supplies this as a header, it's not necessary.