<?xml version="1.0" encoding="UTF-8"?>
<html xmlns="http://www.w3.org/1999/xhtml" lang="ja" xml:lang="ja">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
<meta http-equiv="Content-Style-Type" content="text/css" />
<title>文字色と背景色</title>
<style type="text/css">
h1 {
color: #5f9ea0;
font-size: 2.5em;
}
h3 {
color: #ffffff;
font-size: 1.6em;
background-color: #191970;
}
p {
color: #0000cd;
font-size: 1em;
}
</style>
</head>
<body>
<h1>style要素</h1>
<h3>style element</h3>
<p><b>HTML文書内にまとめて設定します。</b></p>
</body>
</html>
いまひとつ狙った色と異なるのが残念