No styles.
-
When the color of the button is blue, the button doesn't change color, class in my case b1
.b1 { background: navy; /* Синий цвет фона */ color: white; /* Белые буквы */ font-size: 12pt; /* Размер шрифта в пунктах */ }
<input type="button" name="button" class="b1" value="Вычислить" onClick="areaRectangle();">
-
Steel shall be turned into a tag.
style
or loaded with help<link rel="stylesheet" type="text/css" href="linkto.css">
<style> .b1 { background: navy; /* Синий цвет фона */ color: white; /* Белые буквы */ font-size: 12pt; /* Размер шрифта в пунктах */ } </style>
<input type="button" name="button" class="b1" value="Вычислить" onClick="areaRectangle();">