Latest Tutorials

Character references and HTML entities

Each character can be referenced as a coded number (from ASCII, Unicode...) visualized through a decimal or hexadecimal number. To help utilize some of the most commonly used symbols and punctuatio...

HTTP status and error messages

In communication between browsers and servers there are some messages that might be returned from the server depending if the request was successful or not. They are part of the HyperText Transfer...

CSS tutorial introduction

Before learning CSS it is important to be familiar with HTML already as in the web design HMTL...

What is CSS?

The CSS or Cascading Style Sheets is a programming language added to HTML to help developers create be...

CSS selectors and properties

The CSS code is based on selectors and properties. The selectors and

CSS syntax

The main CSS syntax is made of a 'selector' and 'declarations blocks', together f...

Basics about CSS property values

There are number of values that may be assigned to a property, depending on its type. Numbers: Numbers may be integers or real numbers. Some properties do not allow negati...

Simple selectors

There are two kinds of simple selectors. One is a universal selector or * and the other one is a type

Descendant and child selectors

The easiest way to style descendant elements is by using descendant selectors and child selector. A descendant selector is made of two or more selectors, a parent element and a descendant e...

Sibling selectors

Sibling selectors are targeting only adjacent siblings in the forward order, meaning that the previous sibling in the same branch or the one found two or more positions down the line cannot be reac...