3. Directly in the STYLE attribute of individual elements of the document.
This method is recommeneded for raw beginners who like to see what results their changes are making to the document formatting. Other people will like to use the class attribute to differentiate.
4. The @import command allows explicit importation.
@import url(http://localhost/style.css)
this example shows four ways to combine style and HTML