CSS見出し色々

スポンサーリンク
<!DOCTYPE html>
<html lang="ja">
<head>
<meta charset="utf-8">
<title>見出し色々</title>
<style>
h1 { background-color: yellow;border: 1px solid black; }
h2 { background-color: lightyellow;border: 1px solid black; }
h3 { background-color: lightgreen; border: 1px solid black;}
h4 { background-color: lightblue; border: 1px solid black;}
h5 { background-color: lightcoral; border: 1px solid black;}
h6 { background-color: #FF80FF; border: 1px solid black;}
div,p { text-align: center; }
</style>
</head>
<body>
<div>
<h1>h1〇〇〇〇〇〇〇〇〇〇</h1>
<h2>h2〇〇〇〇〇〇〇〇〇〇</h2>
<h3>h3〇〇〇〇〇〇〇〇〇〇</h3>
<h4>h4〇〇〇〇〇〇〇〇〇</h4>
<h5>h5〇〇〇〇〇〇〇〇</h5>
<h6>h6〇〇〇〇〇〇</h6>
</div>
</body>
</html>