Search This Blog

CSS ID Selector Example

CSS ID Selector Example :
<!DOCTYPE html>
<html>
<head>
<title> kod4u </title>
<style type="text/css">
#para {
font-size: 20px;
color: blue;
}
</style>
</head>
<body>
<h1> ID selector Example </h1>
<p id="para"> ID selector style is applied only perticular html tag. Here we use ID selector style. </p>
<p> Here we not use ID selector style. </p>
</body>
</html>
OUTPUT
CSS ID selector Example

No comments:

Post a Comment