forked from jdf2e/jdc_fe_guide
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathec1f2d54.efe552f8.js
1 lines (1 loc) · 7.17 KB
/
ec1f2d54.efe552f8.js
1
(window.webpackJsonp=window.webpackJsonp||[]).push([[57],{193:function(e,t,n){"use strict";n.r(t),n.d(t,"frontMatter",(function(){return o})),n.d(t,"metadata",(function(){return l})),n.d(t,"rightToc",(function(){return i})),n.d(t,"default",(function(){return m}));var r=n(2),a=n(9),c=(n(0),n(199)),o={title:"\u6587\u4ef6\u6a21\u7248"},l={id:"html/template",title:"\u6587\u4ef6\u6a21\u7248",description:"HTML\u6a21\u7248\u6307\u7684\u662f\u56e2\u961f\u4f7f\u7528\u7684\u521d\u59cb\u5316HTML\u6587\u4ef6\uff0c\u91cc\u9762\u4f1a\u6839\u636e\u4e0d\u540c\u5e73\u53f0\u800c\u91c7\u7528\u4e0d\u4e00\u6837\u7684\u8bbe\u7f6e\uff0c\u4e00\u822c\u4e3b\u8981\u4e0d\u540c\u7684\u8bbe\u7f6e\u5c31\u662f mata \u6807\u7b7e\u7684\u8bbe\u7f6e\uff0c\u4ee5\u4e0b\u662f PC \u548c\u79fb\u52a8\u7aef\u7684 HTML \u6a21\u7248\u3002",source:"@site/docs/html/template.md",permalink:"/jdc_fe_guide/docs/html/template",editUrl:"https://git.jd.com/JDC_FE/jdc_fe_guide/tree/master/docs/html/template.md",sidebar:"someSidebar",previous:{title:"\u6ce8\u91ca\u89c4\u8303",permalink:"/jdc_fe_guide/docs/html/note"},next:{title:"WebApp Meta",permalink:"/jdc_fe_guide/docs/html/webapp"}},i=[{value:"HTML5\u6807\u51c6\u6a21\u7248",id:"html5\u6807\u51c6\u6a21\u7248",children:[]},{value:"\u56e2\u961f\u7ea6\u5b9a",id:"\u56e2\u961f\u7ea6\u5b9a",children:[{value:"\u79fb\u52a8\u7aef",id:"\u79fb\u52a8\u7aef",children:[]},{value:"PC\u7aef",id:"pc\u7aef",children:[]}]}],d={rightToc:i};function m(e){var t=e.components,n=Object(a.a)(e,["components"]);return Object(c.b)("wrapper",Object(r.a)({},d,n,{components:t,mdxType:"MDXLayout"}),Object(c.b)("p",null,"HTML\u6a21\u7248\u6307\u7684\u662f\u56e2\u961f\u4f7f\u7528\u7684\u521d\u59cb\u5316HTML\u6587\u4ef6\uff0c\u91cc\u9762\u4f1a\u6839\u636e\u4e0d\u540c\u5e73\u53f0\u800c\u91c7\u7528\u4e0d\u4e00\u6837\u7684\u8bbe\u7f6e\uff0c\u4e00\u822c\u4e3b\u8981\u4e0d\u540c\u7684\u8bbe\u7f6e\u5c31\u662f mata \u6807\u7b7e\u7684\u8bbe\u7f6e\uff0c\u4ee5\u4e0b\u662f PC \u548c\u79fb\u52a8\u7aef\u7684 HTML \u6a21\u7248\u3002"),Object(c.b)("h2",{id:"html5\u6807\u51c6\u6a21\u7248"},"HTML5\u6807\u51c6\u6a21\u7248"),Object(c.b)("pre",null,Object(c.b)("code",Object(r.a)({parentName:"pre"},{className:"language-html"}),'<!DOCTYPE html>\n<html lang="zh-CN">\n<head>\n<meta charset="UTF-8">\n<title>HTML5\u6807\u51c6\u6a21\u7248</title>\n</head>\n<body>\n \n</body>\n</html>\n')),Object(c.b)("h2",{id:"\u56e2\u961f\u7ea6\u5b9a"},"\u56e2\u961f\u7ea6\u5b9a"),Object(c.b)("h3",{id:"\u79fb\u52a8\u7aef"},"\u79fb\u52a8\u7aef"),Object(c.b)("pre",null,Object(c.b)("code",Object(r.a)({parentName:"pre"},{className:"language-html"}),'<!DOCTYPE html>\n<html lang="zh-CN">\n<head>\n<meta charset="UTF-8">\n<meta name="viewport" content="width=device-width, initial-scale=1.0, maximum-scale=1.0, user-scalable=no, shrink-to-fit=no" >\n<meta name="format-detection" content="telephone=no" >\n<title>\u79fb\u52a8\u7aefHTML\u6a21\u7248</title>\n \n\x3c!-- S DNS\u9884\u89e3\u6790 --\x3e\n<link rel="dns-prefetch" href="">\n\x3c!-- E DNS\u9884\u89e3\u6790 --\x3e \n\n\x3c!-- S \u7ebf\u4e0a\u6837\u5f0f\u9875\u9762\u7247\uff0c\u5f00\u53d1\u8bf7\u76f4\u63a5\u53d6\u6d88\u6ce8\u91ca\u5f15\u7528 --\x3e\n\x3c!-- #include virtual="" --\x3e\n\x3c!-- E \u7ebf\u4e0a\u6837\u5f0f\u9875\u9762\u7247 --\x3e\n\n\x3c!-- S \u672c\u5730\u8c03\u8bd5\uff0c\u6839\u636e\u5f00\u53d1\u6a21\u5f0f\u9009\u62e9\u8c03\u8bd5\u65b9\u5f0f\uff0c\u8bf7\u5f00\u53d1\u5220\u9664 --\x3e \n<link rel="stylesheet" href="css/index.css" >\n\x3c!-- /\u672c\u5730\u8c03\u8bd5\u65b9\u5f0f --\x3e\n\n<link rel="stylesheet" href="http://srcPath/index.css" >\n\x3c!-- /\u5f00\u53d1\u673a\u8c03\u8bd5\u65b9\u5f0f --\x3e\n\x3c!-- E \u672c\u5730\u8c03\u8bd5 --\x3e\n\n</head>\n<body>\n\n</body>\n</html>\n')),Object(c.b)("h3",{id:"pc\u7aef"},"PC\u7aef"),Object(c.b)("pre",null,Object(c.b)("code",Object(r.a)({parentName:"pre"},{className:"language-html"}),'<!DOCTYPE html>\n<html lang="zh-CN">\n<head>\n<meta charset="UTF-8">\n<meta name="keywords" content="your keywords">\n<meta name="description" content="your description">\n<meta name="author" content="author,email address">\n<meta name="robots" content="index,follow">\n<meta http-equiv="X-UA-Compatible" content="IE=Edge,chrome=1">\n<meta name="renderer" content="ie-stand">\n<title>PC\u7aefHTML\u6a21\u7248</title>\n\n\x3c!-- S DNS\u9884\u89e3\u6790 --\x3e \n<link rel="dns-prefetch" href="">\n\x3c!-- E DNS\u9884\u89e3\u6790 --\x3e \n\n\x3c!-- S \u7ebf\u4e0a\u6837\u5f0f\u9875\u9762\u7247\uff0c\u5f00\u53d1\u8bf7\u76f4\u63a5\u53d6\u6d88\u6ce8\u91ca\u5f15\u7528 --\x3e\n\x3c!-- #include virtual="" --\x3e\n\x3c!-- E \u7ebf\u4e0a\u6837\u5f0f\u9875\u9762\u7247 --\x3e\n\n\x3c!-- S \u672c\u5730\u8c03\u8bd5\uff0c\u6839\u636e\u5f00\u53d1\u6a21\u5f0f\u9009\u62e9\u8c03\u8bd5\u65b9\u5f0f\uff0c\u8bf7\u5f00\u53d1\u5220\u9664 --\x3e \n<link rel="stylesheet" href="css/index.css" >\n\x3c!-- /\u672c\u5730\u8c03\u8bd5\u65b9\u5f0f --\x3e\n\n<link rel="stylesheet" href="http://srcPath/index.css" >\n\x3c!-- /\u5f00\u53d1\u673a\u8c03\u8bd5\u65b9\u5f0f --\x3e\n\x3c!-- E \u672c\u5730\u8c03\u8bd5 --\x3e\n\n</head>\n<body>\n\n</body>\n</html>\n')))}m.isMDXComponent=!0},199:function(e,t,n){"use strict";n.d(t,"a",(function(){return p})),n.d(t,"b",(function(){return h}));var r=n(0),a=n.n(r);function c(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function o(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function l(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?o(Object(n),!0).forEach((function(t){c(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):o(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}function i(e,t){if(null==e)return{};var n,r,a=function(e,t){if(null==e)return{};var n,r,a={},c=Object.keys(e);for(r=0;r<c.length;r++)n=c[r],t.indexOf(n)>=0||(a[n]=e[n]);return a}(e,t);if(Object.getOwnPropertySymbols){var c=Object.getOwnPropertySymbols(e);for(r=0;r<c.length;r++)n=c[r],t.indexOf(n)>=0||Object.prototype.propertyIsEnumerable.call(e,n)&&(a[n]=e[n])}return a}var d=a.a.createContext({}),m=function(e){var t=a.a.useContext(d),n=t;return e&&(n="function"==typeof e?e(t):l({},t,{},e)),n},p=function(e){var t=m(e.components);return a.a.createElement(d.Provider,{value:t},e.children)},s={inlineCode:"code",wrapper:function(e){var t=e.children;return a.a.createElement(a.a.Fragment,{},t)}},u=Object(r.forwardRef)((function(e,t){var n=e.components,r=e.mdxType,c=e.originalType,o=e.parentName,d=i(e,["components","mdxType","originalType","parentName"]),p=m(n),u=r,h=p["".concat(o,".").concat(u)]||p[u]||s[u]||c;return n?a.a.createElement(h,l({ref:t},d,{components:n})):a.a.createElement(h,l({ref:t},d))}));function h(e,t){var n=arguments,r=t&&t.mdxType;if("string"==typeof e||r){var c=n.length,o=new Array(c);o[0]=u;var l={};for(var i in t)hasOwnProperty.call(t,i)&&(l[i]=t[i]);l.originalType=e,l.mdxType="string"==typeof e?e:r,o[1]=l;for(var d=2;d<c;d++)o[d]=n[d];return a.a.createElement.apply(null,o)}return a.a.createElement.apply(null,n)}u.displayName="MDXCreateElement"}}]);