Answers for "div class css"

2

how to style a div class in css

.classname { 
  background-color: yellow;
}
Posted by: Guest on November-02-2021
0

html specific class color

<!-- in the head element -->
<style> h1 { color:blue; } </style>

<!-- in the body element -->
<h1> text in blue because all "h1" element is in blue </h1>
Posted by: Guest on June-19-2020

Browse Popular Code Answers by Language