CSS Style Types
Types of styles:
Basically there are three ways we can set styles for the html tags.
a) Inline
b) Internal
c) External CSS
Inline Styles
This kind of style takes values inline with the html tag
e.g:
<font style="color: red; background-color: orange;"> Test Font </font>
Result:
Test Font
Internal Styles
Here we define style under head tag and use it for our tags.
Inside head tag we will define styles as given in the examples.
Internal styles can be used in three ways,
universal,
identifiers,
user defined.