/ Published in: XHTML
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
`` is deprecated
``
* `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
`` is deprecated
``
Expand |
Embed | Plain Text
Copy this code and paste it in your HTML
<!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> <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" /> <style type="text/css"> ${css.inner} </style> <script type="text/javascript"> ${js.inner} </script> </head> <body> ${html.bodycode} </body> </html>