1 doctype html > 2 html lang ="en" > 3 head > 4 meta charset ="UTF-8" > 5 title > css头部引用和外部引用哪一个优先级高 title > 6 link rel ="stylesheet" href ="测试.css" > 7 style type ="text/css" > 8 .one { 9 color : red ; 10 font-size : 30px ; 11 } 12 style > 13 head > 14 body > 15 div > 16 p class ="one" > 用头部引入和外部引入同时对这一句话进行了颜色和字号设置 p > 17 p class ="two" > 只用外部引入对这句话进行颜色和字号设置 p > 18 div > 19 body > 20 html >
查看更多关于css中同时用头部引入和外部引入对同一个标签进行样式设置,哪一个优先级高。的详细内容...
声明:本文来自网络,不代表【好得很程序员自学网】立场,转载请注明出处:http://haodehen.cn/did102077