Home  >  Article  >  Web Front-end  >  Three styles of css

Three styles of css

高洛峰
高洛峰Original
2016-10-12 11:03:291292browse

1. Inline style

As the name suggests, it is a style written directly inside a div pair

Three styles of css

2. Internal style

Write the style in a pair of tag pairs. This tag pair is placed inside the html page

Three styles of css

3. Outbound style

Write the style in a separate file. When you use it, just import it with the address

Three styles of css

Three styles of css

Three styles of css

Statement:
The content of this article is voluntarily contributed by netizens, and the copyright belongs to the original author. This site does not assume corresponding legal responsibility. If you find any content suspected of plagiarism or infringement, please contact admin@php.cn