Day2-Exercise-5(To represent style-sheets using id)
<!To represent stylesheets using id>
<html>
<head>
<style>
#p01
{
color:blue;
}
</style>
</head>
<body>
<h1>Heading</h1>
<p>paragraph</p>
<p>paragraph</p>
<p id="p01">paragraph</p>
</body>
</html>
<html>
<head>
<style>
#p01
{
color:blue;
}
</style>
</head>
<body>
<h1>Heading</h1>
<p>paragraph</p>
<p>paragraph</p>
<p id="p01">paragraph</p>
</body>
</html>
Comments
Post a Comment