Search This Blog

CSS Grouping Selectors Example

CSS Grouping Selectors Example :
<!DOCTYPE html>
<html>
<head>
<title> kod4u </title>
<style type="text/css">
h2, p {
color: blue;
font-size:20px;
}
</style>
</head>
<body>
<h1> Grouping Selectors Example </h1>
<h2> Smaller heading </h2>
<p>This is a paragraph.</p>
</body>
</html>
OUTPUT
CSS Grouping Selectors Example

No comments:

Post a Comment