摘要
CSS控制网页方法有行内样式、内嵌式样式、链接式样式和导入式样式四种.其中,行内样式最简单,用在少量需要独立设置的标记中;内嵌式样式主要用于独立网页的样式控制;链接样式最实用,使用也最广泛;导入式样式可以在一个HTML文件中导入多个样式表,在样式表文件中也可以导入其他样式表.这四种样式同时存在时,使用优先级依次为行内样式、链接式样式、内嵌式样式和导入式样式.
There are four ways to use the CSS control webpage, inline, embedded, linked and import styles. The inline style is used in small and independent tags. Embedded style is mainly used for independent control of web pages. Linked style is most practical and extensively used. Import style can import multiple stylesheets in an html file. The four styles may exist at the same time,but in the order of inline,linked, embedded and import styles.
出处
《石家庄职业技术学院学报》
2015年第2期39-41,44,共4页
Journal of Shijiazhuang College of Applied Technology