CSS Comments
<!DOCTYPE html>
<html lang="en">
<head>
<title>CSS Comments</title>
<style>
/*this is example of multi-line
comment this code is ignore by
browser when show the webpage*/
h1{
color:blue;
}
/*this is single line comment example*/
p {
color: red;
}
</style>
</head>
<body>
<h1>Css Comments </h1>
<p>Here is example of CSS comments</p>
</body>
</html>
Code Output
CSS Comments
You can add comments to provide explanations, notes, or reminders within your code. You can add single-line and multi-line comments with /*
and end with */