Home >Web Front-end >HTML Tutorial >CSS study notes_html/css_WEB-ITnose

CSS study notes_html/css_WEB-ITnose

WBOY
WBOYOriginal
2016-06-24 11:42:171024browse

These are the notes I took when I was learning CSS styles. I’ve sorted them out a little. It is also a learning outline.

CSS cascading style sheet learning mainly answers two questions:

(1) What is CSS cascading style sheet used for?

(2) How to use CSS cascading style sheets?

Answer the first question: CSS cascading style sheets beautify HTML. Including color, background, layout and more.

The second question can be broken down into two questions:

(1) How does CSS cascading style work with HTML?

(2) The specific syntax of CSS cascading style sheets, which styles of HTML tags are controlled, and how powerful is CSS?

Regarding question (1), the following is a detailed explanation:

CSS styles can work with HTML in three ways:

A. Embedded style sheet

Use the