How to Include Comments in CSS

Comments in CSS are generally used to explain the purpose of style CSS properties are declared.

How to Include Comments in CSS
Include Comments in CSS

Purpose of the Write Comments in CSS

Comments in CSS are useful for remote persons to understand the purpose of the code.

Comments are not displayed on the browser. CSS Comments are start with /* and ends with */ . Now you can see all the examples and types on CSS comments.

Types of Comments in CSS

There are two types CSS comments,

  1. Single line Comment.
  2. Multi line Comment.

Single Line Comment in CSS

Here, you can see how we declare single-line comments are,

See the Pen single line CSS comment by Bikash Panda (@phpcodertech) on CodePen.

Multi Line Comments in CSS

Here, you can see how we write multi line comments are,

See the Pen multi-line comment in CSS by Bikash Panda (@phpcodertech) on CodePen.

Here is the complete reference about how to Write Comments in CSS.

Also Check:

Happy Coding..!

Was this article helpful?
YesNo
My name is Bikash Kr. Panda. I own and operate PHPCODER.TECH, my native place in Odisha. I am a Web Programmer by profession and working on more than 50 projects to date. My passion is working on the web-based project using PHP and relate to all CMS and frameworks which is based on PHP.
Posts created 175

2 thoughts on “How to Include Comments in CSS

Leave a Reply

Your email address will not be published. Required fields are marked *

Related Posts

Begin typing your search term above and press enter to search. Press ESC to cancel.

Back To Top
mariobet - supertotobet - escort -

takip7.com

- milanobet giriş - gizabet giriş -
perabet giriş
- betkanyon giriş -

jojobet giriş

We are now accepting guest posting and creation of back-links.
This is default text for notification bar