タグっ子 −HP作成タグ−
 MAIN  HTML一覧)  STYLESEET一覧)  CGI/Perl  色の基本
HTML
基礎
HTMLのバージョン
最低限必要なもの
キーワード、内容の説明、製作者
文字セット、スタイルシート、スクリプト言語
相対URLと絶対URL指定
アドレス
コメント
背景色
背景画像
文字色の設定
自動的にページを移動

 文字セット、スタイルシート、スクリプト言語
<meta http-equiv="content-type" content="text/html; charset=文字セット">
<meta http-equiv="content-script-type" content="スクリプトタイプ">
<meta http-equiv="content-style-type" content="スタイルシートタイプ">

キャッシュ制御・有効期限
<meta http-equiv="pragma" content="no-cache">
<meta http-equiv="cache-control" content="no-cache">
<meta http-equiv="expires" content="Sat, 10 May 2000 11:22:33 GMT">

文字セット
JIS: iso-2022-jp
シフトJIS: shift_jis
EUC: euc-jp
UNICODE: UTF-8

スクリプトタイプ
JavaScript: text/javascript
VBScript: vbscript

スタイルシートタイプ
Cascading Style Sheet: text/css

要素は<head>〜</head>の中に配置。

<!doctype html public "-//w3c//dtd html 4.0 transitional//en" "http://www.w3.org/tr/rec-html40/loose.dtd">

<html>
 <head>
  <title>タイトル</title>
  <meta http-equiv="content-type" content="text/html; charset=shift_jis">
  <meta http-equiv="content-script-type" content="
text/javascript">
  <meta http-equiv="content-style-type" content="
text/css">
 </head>

 <body>
 </body>
</html>