Program in HTML, a heading 3 element, with an id attribute who's value is equal to references.
<html>
<head>
<style>
#myHeaderRef {
background-color: Pink;
color: Blue;
padding: 40px;
text-align: center;
}
#myRef {
background-color: Yellow;
color: Black;
}
</style>
</head>
<body>
<h3 id="myRef">The Heading H3 element, with an id
Attribute</h3>
<p>Using CSS to style an element H3 with the id
"myHeaderRef":</p>
<h3 id="myHeaderRef">My Header</h3>
</body>
</html>
Output:
Get Answers For Free
Most questions answered within 1 hours.