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

css reference file method

高洛峰
Release: 2016-11-24 14:46:50
Original
1329 people have browsed it

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;”>





Related labels:
css
source:php.cn
Statement of this Website
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
Popular Recommendations
Popular Tutorials
More>
Latest Downloads
More>
Web Effects
Website Source Code
Website Materials
Front End Template