【CSS】Beginner1:Applying CSS

CSS(Cascading Style Sheets)
 
1.Applying CSS
Three ways:
1.In-line
2.Internal
3.External
 
2.In-line
style attribute
The best-practice approach is that the HTML should be a stand-alone, presentation freedocument, and so in-line styles should be avoided wherever possible
 
3.Internal/Embedded
    Used for the whole page
    Inside  head element
    Style tag surround all of the styles for the pages
 
4.External
    Used for the whole multiple-page website
    inside head element
    
原文地址:https://www.cnblogs.com/yzhen/p/3657376.html