Learn CSS Practically

Explore a variety of different CSS exercises which includes margin, padding, styling, formatting and creating basic structures of a website.

CSS Introduction
CSS Properties

CSS Comments

Comments are used to explain the code, and may help when you edit the source code at a later date. Comments are ignored by browsers.

A CSS comment is placed inside the <style> element, and starts with /* and ends with */:

For example

    /* This is a single-line comment */
p {
  color: red;
}

Now that you know Comments is CSS, let's learn the how to use CSS


Share this page on :