Revision: 67676
Updated Code
at October 17, 2014 17:06 by jacktan
Updated Code
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" lang="zh-CN" xml:lang="zh-CN" dir="ltr">
<head>
<title>${html.title}</title>
<meta charset="UTF-8" />
<meta http-equiv="Content-Language" content="zh-cn" />
<meta name="keywords" content="${meta.keywords}" />
<meta name="description" content="${meta.descp}" />
<link rel="stylesheet" type="text/css" href="${css.custom}" media="screen" />
<link rel="stylesheet" type="text/css" href="${css.othermedia}" media="handheld" />
<script type="text/javascript" src="${js.jquery}" charset="utf8"></script>
<script type="text/javascript" src="${js.custom}" charset="utf8"></script>
<style type="text/css">
${css.inner}
</style>
<script type="text/javascript">
${js.inner}
</script>
</head>
<body>
${html.bodycode}
</body>
</html>
Revision: 67675
Initial Code
Initial URL
Initial Description
Initial Title
Initial Tags
Initial Language
at October 15, 2014 16:32 by jacktan
Initial Code
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" lang="zh-CN" xml:lang="zh-CN" dir="ltr">
<head>
<title>${html.title}</title>
<meta http-equiv="Content-type" content="text/html; charset=utf8" />
<meta http-equiv="Content-Language" content="zh-cn" />
<meta name="keywords" content="${meta.keywords}" />
<meta name="description" content="${meta.descp}" />
<link rel="stylesheet" type="text/css" href="${css.custom}" media="screen" />
<link rel="stylesheet" type="text/css" href="${css.othermedia}" media="handheld" />
<script type="text/javascript" src="${js.jquery}" charset="utf8"></script>
<script type="text/javascript" src="${js.custom}" charset="utf8"></script>
<style type="text/css">
${css.inner}
</style>
<script type="text/javascript">
${js.inner}
</script>
</head>
<body>
${html.bodycode}
</body>
</html>
Initial URL
Initial Description
This quick-start xhtml is fixed with
* `content`: zh-CN(simplified chinese)
* `charset`: utf8
**Strongly recommend**
Codes typed into a text file encoding with utf8
Before you applied xhtml codes, all you need to do is to replace the following propertities.The list is just recommend rather than required.
* `${html.title}`
* `${meta.keywords}` (eg:HTML, DHTML, CSS, XHTML, JavaScript)
* `${meta.descp}` (eg:best practice xhtml coding)
* `${css.custom}` (eg:templete.css)
* `${css.othermedia}` weakly needed, just for case that your page need web version. (eg:templete-android.css)
* `${js.jquery}` jquery or any other js library, and a `CDN` is better. (eg:http://code.jquery.com/jquery-1.4.1.min.js)
* `${js.custom}` your js file. (eg:templete_utf8.js)
* `${css.inner}` here you can type css codes, and `@import url(templete.css);` as a way to include outter css file.
* `${js.inner}`
* `${html.bodycode}`
-----
2014-10-17 update
`<meta>` is deprecated
`<meta>`
Initial Title
Quick-start template for xhtml in Chinese languange
Initial Tags
template, html, xhtml
Initial Language
XHTML