2. Summary
CSS has three types that pertains to how it is incorporated into an HTML document. Inline
CSS is used as a value to an element style attribute and uniquely formats that element. While the
Internal CSS is used to uniquely format an HTML document and is incorporated inside the <style></style> tag of the head section. Lastly, the External CSS is a separate .css text file that is inserted into
the HTML document using the <link> tag inside the head section.
The three CSS types could be incorporated into one HTML document and are “cascaded” into one style rule to format the elements inside it. The effects of the combined CSS properties follow a precedence rule based on the nearness to the elements being formatted. The use of !important on a CSS property overrides this precedence rule.
References
How to Add CSS. (n.d.). Retrieved August 12, 2020 from https://www.w3schools.com/css/
css_howto.asp
CSS Inclusion. (n.d.). Retrieved August 12, 2020 from https://www.tutorialspoint.com/css/ css_inclusion.htm
Coyler, Coyler (2017, February 226) When Using !important is The Right Choice. Retrieve from
https://css-tricks.com/when-using-important-is-the-right-choice/