What information is covered in a CSS tutorial?


Quick Answer

A CSS tutorial includes information about syntax, backgrounds, borders, margins and text. Fonts, lists, tables, position, and alignment and navigation bars are other topics covered. This information refers to how, using the CSS language, the items are presented within a page, screen or other media.

Continue Reading

Full Answer

CSS is a stylesheet language that describes the presentation of an HTML (or XML) document. It describes how elements must be rendered on screen, on paper, or in other media. Within a tutorial, there are different sections that cover how to handle each of these elements, along with examples and quiz tests.

The CSS syntax is covered within a tutorial. It refers to the rules used to structure the information written in CSS language. A CSS rule-set consists of a selector and a declaration block, which are used for the syntax. The selector points to the HTML element that the user wants to style, while the declaration block contains one or more declarations separated by semicolons. Each declaration includes a CSS property name and a value, separated by a colon.

The CSS background properties are used to define the background effects for elements. The user can configure the background's color, image, repeat, attachment and position.

The CSS margin properties are used to generate space around elements. The margin properties set the size of the white space outside the border. They are completely transparent and cannot have a background color.

The CSS font properties define the font family, boldness, size and the style of a text. A tutorial also specifies how to create lists of items or tables within CSS.

Learn more about Computer Programming

Related Questions