There are two types of comment available in CSS
<style>
/*comment*/
/*h1{color:red}*/
p{background-color:green;/*height:500px*/}
</style>
<style>
/*multi-line comment*/
/*h1{color:red}
p{background-color:green;height:500px}*/
</style>
<!DOCTYPE html>
<html>
<head>
<style>
/*single line comment*/
/*h1{color:red}*/
/*multiple lines comments*/
/*p{background-color:green;height:500px}
h1{color:pink}*/
h1{color:green}
</style>
</head>
<body>
<h1>Hello world!</h1>
</body>
</html>
Previous
      Next Page
Share TDB SCHOOL
Share this E-Learning Website on social media platforms with your friends and followers