CSS Comment


Prev Tutorial Next Tutorial

CSS Comment

Comment is nothing but it is a statement which is not display on browser window. It is useful to understand about particular code, which code is written for what purpose.

Syntax

/*  css comment  */

Example

<style>
/* style for paragraph*/
p
{
color:red;
}
</style>
Comment

In CSS single line and multi line comments are used in same way.

Example

<html>
<body>
<style>
/* style for paragraph*/
p
{
color:red;
}
/*
multi line comment
in CSS
*/
</style>
<p>This is my first Html code</p>
</body>
</html>

Example

This is my first Html code


Prev Tutorial Next Tutorial

Advertisements
Download Projects

Advertisements

Download WhatsApp Status Video

Buy This Ad Space Only $50 per Month, Ad Size 300X250 Contact on: [email protected] WhatsApp no. 8882538826

Google Adsense Advertisements