JavaScript入門講座

Home > METAタグの記述

METAタグの記述

以下はHTML4.01のheadタグの記述例です。

HTML4.01の場合


<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<meta name="Keywords" content="JavaScript,入門,META,タグ">
<meta name="Description" content="METAタグの記述説明。">
<meta http-equiv="Content-Script-Type" content="JavaScript">
<title>JavaScript入門講座 METAタグの記述</title>
</head>

以下はXHTML1.0のheadタグの記述例です。

XHTML1.0の場合


<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
<meta name="Keywords" content="JavaScript,入門,META,タグ" />
<meta name="Description" content="METAタグの記述説明。" />
<meta http-equiv="Content-Script-Type" content="JavaScript" />
<title>JavaScript入門講座 METAタグの記述</title>
</head>