Y
Hacker News
new
|
ask
|
show
|
jobs
by
valadaptive
165 days ago
I always include `<meta charset="utf-8">`. Is that still necessary?
3 comments
genewitch
165 days 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
link
qznc
165 days ago
Minimal valid HTML5:
<!doctype html> <title>Hello</title> <h1>Hello World</h1>
link
neilv
165 days ago
That particular doctype is HTML5. I was making a too-subtle joke about slapping it on '94 HTML.
link
neilv
165 days ago
I also do that and a couple other things. I used mostly '94 HTML for the comment, to try to make a point.
link
kxrm
165 days ago
if the server supplies this as a header, it's not necessary.
link