Home >Web Front-end >CSS Tutorial >css reference file method

css reference file method

高洛峰
高洛峰Original
2016-11-24 14:46:501340browse

1 Use the element to link to external style files

eg:2 Use the "style" element in the element to specify

eg:
                                                                                                                      css" href="http://www.php1.cn/">                                                                                                                                          /head>
                                                                                                                                                                         html & gt;
3 uses CSS marks to import style forms
EG: & LT; style type = "text/css" & gt;
@import url (default.css);
& lt;/style & gt; YLE TYPE = "Text/css" & gt;
@import url ("default.css");
& lt;/style & gt;
4 uses the "style" attribute in the internal element to define the style

eg: & lt ;div style=”width:800px;”>





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
Previous article:Reference the public CSS file - base.cssNext article:Reference the public CSS file - base.css

Related articles

See more