代表者の戯言

I want to specify the font size.



When writing text in HTML, there are times when I want to specify the font size. While it is a basic concept, I want to use CSS to specify it as shown below


HTML

link rel="stylesheet" href="style.css"



example(insert this where I want to change the font size)


(h1)H1 size(/h1)


(h2)H2 size(/h2)


(h3)H3 size(/h3)


In the actual program, please change the 【(】 to 【<】 and the 【)】 to 【>】.



style.css


/* about h1****************************************** */

h1 {

font-family: "Hiragino Kaku Gothic Pro", Meiryo, sans-serif;

font-size: 38px;

margin-top: 0;

margin-bottom: 0}


/* about h2******************************************* */

h2 {

font-family: "Hiragino Kaku Gothic Pro", Meiryo, sans-serif;

font-size: 18px;

margin-top: 0;

margin-bottom: 0}


/* about h3******************************************* */

h3 {

font-family: "Hiragino Kaku Gothic Pro", Meiryo, sans-serif;

font-size: 17px;

margin-top: 0;

margin-bottom: 0;

color: #000000}