Answers for "/ in html"

0

. and # in html

<!DOCTYPE html>
<html>
<head>
<style>
.classname {
  background-color: green;
  color: white;
}
#idname {
  background-color: pink;
  color: white;
}
</style>
</head>
<body>
<div class="classname">I am  green colour<div>
<div id="idname">I am  pink colour</div>
</body>
</html>
Posted by: Guest on September-10-2020
0

how to use * in html

* {
  color:blue;
}
Posted by: Guest on December-07-2020

Browse Popular Code Answers by Language