CSS Id
0 3885
How to create and ID in CSS: In CSS an ID selector is a name always start with a hash character ("#"). ID's are unique.
With a specific id are used to select one unique element!
Example:
<!DOCTYPE html>
<html>
<head>
<style>
#test {
background-color:#FF0000;
}
</style>
</head>
<body>
<p id="test"> Hello World. </p>
<p> Hello World. </p>
</body>
</html>
Share:
Comments
Waiting for your comments