There are three types of CSS layer style sheets: 1. Inline style sheet, which uses the style attribute to write the style in the HTML tag; 2. Internal style sheet, which writes the style code in the " tag structure can be located anywhere in the page tag, also Can appear multiple times. Usually the entire structure is written in the
... section of the page. The characteristic of this way of introducing CSS is that the CSS code of each page may be unified and planned. It is easy to reuse and maintain within a page, but the reuse of CSS code between multiple pages is still not enough. [Recommended tutorial:CSS video tutorial]
3. External style sheet (.css file):
css The code is written in a separate external file. This css style file has a ".css" extension. Use the tag within the (not within the