CSS TIPS & TRICKS #0000CDはmedium blue
背景色や枠線を付けた見出しや段落には、適度にパディングを設定したほうが読みやすくなります。
<!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">
<title>見出しや段落にパディングを指定</title>
<style type="text/css">
<!--
h1 { padding: 0.2em 1em; border: 4px double black;
font: bold 2em Verdana; }
p { padding: 1em; border: 1px solid red;
line-height: 1.5; }
-->
</style>
</head>
<body>
<h1 lang="en">CSS TIPS & TRICKS</h1>
<p>背景色や枠線を付けた見出しや段落には、適度にパディングを設定したほうが読みやすくなります。</p>
</body>
</html>