Skip to content

Instantly share code, notes, and snippets.

@paddingme
Last active September 1, 2019 01:25
Show Gist options
  • Save paddingme/6182708733917ae36331 to your computer and use it in GitHub Desktop.
Save paddingme/6182708733917ae36331 to your computer and use it in GitHub Desktop.
html5 header
<!DOCTYPE html>
<html lang="zh-cmn-Hans">
<head>
<meta charset="UTF-8">
<!-- 360 优先使用gcf -->
<meta name="renderer" content="webkit">
<meta http-equiv="X-UA-Compatible" content="IE=Edge,chrome=1">
<title> html5 head 部分 </title>
<!--<meta name="viewport" content="width=device-width, initial-scale=1, maximum-scale=1"> -->
<meta name="keywords" content="..." >
<meta name="description" content="...">
<meta name="robots" content="index,follow">
<link rel="shortcut icon" type="image/ico" href="favicon.ico">
<!-- External CSS -->
<link rel="stylesheet" href="code-guide.css">
<!-- In-document CSS -->
<style>
/* ... */
</style>
<!-- JavaScript -->
<script src="code-guide.js"></script>
</head>
<body>
</body>
</html>
@Kissaki
Copy link

Kissaki commented Sep 1, 2019

What is the meta renderer tag supposed to be for? I can’t find any information on it.

Reference https://developer.mozilla.org/en-US/docs/Web/HTML/Element/meta#attr-name
https://wiki.whatwg.org/wiki/MetaExtensions

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment