设置CSS的几种方式_html/css_WEB-ITnose

WBOY
Release: 2016-06-24 11:46:06
Original
979 people have browsed it

内联样式表

 

嵌入样式表

    

        

    

外部样式表

nbsp;html>

    

大多数网站都会将外部样式表保存在缓冲区中,加快网站的浏览速度

输入样式表

可以用CSS的@import声明将一个外部样式表文件输入到另外一个CSS文件中,被输入的CSS文件中的样式规则定义语句就成为了输入到的CSS文件的一部分。也可以用@import声明将一个CSS文件输入到网页文件的标签对中,被输入的CSS文件中的样式规则定义语句就成了标签对中的语句

nbsp;html>

    

    

        

    

Related labels:
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 Tutorials
More>
Latest Downloads
More>
Web Effects
Website Source Code
Website Materials
Front End Template
About us Disclaimer Sitemap
php.cn:Public welfare online PHP training,Help PHP learners grow quickly!