背景色を変える


下記のようにスタイルに記入します。

<title>神田はな子のホームページ</title>
<style type="text/css">
<!--
body {
background-color:#faebd7;

}
-->
</style>



<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html lang="ja">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=Shift_JIS">
<meta http-equiv="Content-Style-Type" content="text/css">
<meta name="description" content="ここにホームページの紹介文を記述します">
<meta name="keywords" content="キーワード,キーワード,キーワード">
<title>神田はな子のホームページ</title>
<style type="text/css">
<!--
BODY {
background-color:#faebd7;

}
-->
</style>
</head>
<body>
<div align="center">
<h1>神田はな子のホームページ</h1>
<br>
<br>
ただいま工事中です。</div>
</body>
</html>


色見本は下記を参照

http://www.tokaido.co.jp/html/colorlist.htm



電脳道場TOP  html作業標準手順書  htmlの基本  サーバーに転送する 
inserted by FC2 system