Home > Web Front-end > HTML Tutorial > Compilation of css knowledge points

Compilation of css knowledge points

WBOY
Release: 2016-08-23 09:03:42
Original
1250 people have browsed it

 CSS is the abbreviation of Cascading Style Sheets, which is called cascading style sheets in Chinese. It is used to control the performance of web page data and can separate the performance of web pages from data content.

1. How to introduce css

  1. Inline style: Inline style sets the CSS style in the style attribute of the mark. This method does not reflect the advantages of CSS and is not recommended.

 2. Embedded: Embedded is to write CSS styles centrally in the tag pair of the tag pair of the web page. The format is as follows: