Dear users we are very sorry for the mix up, we were having some difficulties updating it with the problem of bots coming in to our blog, to keep on following up just click on follow, to keep on receiving notifications from us we promise to keep on keeping you updated
Today’s topic is The use of classes and id’s in html
We use classes and id’s To represent CSS codes, a dot is used to begin classes in CSS while a # is used to begin Id’s in CSS.
Examples:
<html>
<head>
<title>The use of classes and id’s</title>
<style>
.class{
background-color: #673AB7;
height: 50px;
width: 100%;
}
#id{
background-color: #673AB7;
height: 50px;
width: 100%;
}
</style>
</head>
<body>
</body>
</html>
As you can see # and . do the same thing, if you have and questions feel free to comment, if you want to be updated for FREE just follow our page.