meta - メタ情報の設定を行う
メタ情報の設定を行います。
メタ情報とは、文字エンコーディングやページ概要、キーワード、ロボット情報などの、ページに関する各種情報のことです。
基本的にname属性を使用しますが、以下に挙げた属性値(プラグマディレクティブ)を設定する場合にのみhttp-equiv属性を使用します。
- content-language
- content-type
- default-style
- refresh
- set-cookie
主な属性一覧
サンプル
<meta http-equiv="content-type" content="text/html; charset=Shift_JIS"> <meta name="description" content="ここにページの概要を記述します。"> <meta name="keywords" content="キーワード1,キーワード2,キーワード3"> <meta http-equiv="refresh" content="10; move.html">
表示例
- 表示例はありません -
カテゴリー:HTML&CSSリファレンス(旧タグ辞典)
2011/10/01 03:24:22 更新