CSS

What is CSS? – Definition

CSS (Cascading Style Sheets) is a style sheet language that describes the style of the HTML document.  It describes how HTML elements are displayed on a page. CSS saves a lot of work as it may control the layout of multiple pages at once. Style formatting is usually saved in a separate .css file. Thanks to this, you can modify the layout of the whole site by changing only one file.

CSS Syntax

What is CSS

  • The selector indicates the HTML element that you intend to style.
  • The declaration block consists of one or several declarations, all of which are always separated by semicolons.
  • All declarations contain the CSS property name and values which are separated by colons.
  • Declarations always end with a semicolon, and declaration blocks are surrounded by curly brackets.

How to Change Color with CSS?

CSS definition

In the above example, “p” is the selector, which indicates the element we style, i.e. paragraph (<p>). “Color” is a property whereas “green” is its value. In this way, all <p> elements will have green text.

 

Was this definition helpful?
(0)
Author
Delante is an online marketing agency specialized in generating website traffic from search engines and paid ads (SEO / SEM). Over 80% of our clients are from rapidly growing e-commerce industry.

RECENTLY ON OUR BLOG

What’s EEAT & Why Is It Important for SEO?

What’s EEAT & Why Is It Important for SEO?

Some time ago SEO specialists thought that EEAT was only about creating elements such as author’s bios or links to resources to make the website more authoritative for crawlers. Today we know that Google perceives authoritativeness differently. It expects both the brand itself, and the people standing behind it to be industry experts. What’s Google EEAT and how to convince the search engine robots that your content is trustworthy and should be displayed high in the search results?

Read more