過去記事

XHTML1.0Trasitionalのテンプレート

よく使うXHTML1.0Trasitionalのテンプレートです。

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="ja" lang="ja">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<meta http-equiv="Content-Script-Type" content="text/javascript" />
<meta http-equiv="Content-Style-Type" content="text/css" />
<title></title>
<meta name="description" content="" />
<meta name="keywords" content="" />
<meta name="auther" content="" />
<link href="" rel="stylesheet" type="text/css" />
<script src="" type="text/javascript"></script>
</head>
<body>
</body>
</html>

文字コードをUTF-8以外で記述する際は、META要素のcharsetで指定している値を下記に変更します。

シフトJIS
Shift_JIS
EUC
euc-jp
JIS
iso-2022-jp
UTF-8
UTF-8
参考

関連記事