CSS的三种嵌入方式

1.行内样式




    
    




    
1111111111111
1111111111111
1111111111111
1111111111111
1111111111111
1111111111111
1111111111111

ghhgjhjgghjghjghjhgjhjghjg

2.页内样式




    
    


    
    

    


   
1111111111111111111
22222
2233333
4444
5555

222222222222222222222222

222222222222222222222222

222222222222222222222222

222222222222222222222222

3.外部样式




    
    
    


   
111111111111111111111

22222222222222222222222

index.css div{ color: brown; font-size: 50px; } p{ background-color: yellow; color: darkgreen; font-size: 39px; }

你可能感兴趣的:(CSS的三种嵌入方式)