CSS Comments Tag Explain

CSS Comments Tag Explain
What is CSS
comment tag
CSS
comments tag is CSS is note written by a programmer to explain the code the
browser not read comments so they do not
affect the program output.
. A CSS comment starts with /* and ends with */. Anything written inside these symbols is ignored by the browser and does not affect the webpage design. Comments can be written on one line or across multiple lines. They are very useful when learning CSS, fixing errors, or temporarily disabling styles without deleting the code.
CSS Comments Tag Explain
Syntax :-
/* this is css comment */
- Start with /*
- Ends with
*/
- CSS comment tag use single-line or
multiple line.
- CSS comment tag use code
remember things later
- CSS comment
tag use code temporarily disable
- CSS comment
tag use code easy to understand for other.
CSS Comments Tag Explain
Example
<!DOCTYPE html>
<html>
<head>
<title> css comment tag </title>
<style>
p{ text-align:center;
color:rgb(19, 47, 253);
font-size: 20px;
}
/* style is comment so will not word*/
/*
h2{
background-color:pink;
}
*/
</style>
</head>
<body>
<p>Hello every one</p>
<p >learn to programming language</p>
<p>https://webdesigningtheory.blogspot.com/</p>
</body>
</html>
CSS Comments Tag Explain