A CSS file is used to define a cascading style sheet for a web page. The purpose is to provide more control over the fonts, colors, layout, etc. that go into the web page than could be provided by raw HTML. Cascading style sheets work like a template, allowing Web developers to define a style for an HTML element and then apply it to as many Web pages as they'd like. With CSS, when you want to make a change, you simply change the style, and that element is updated automatically wherever it appears within the site.
What is an External Style Sheet
External Style Sheet is a document/file containing style information which can be linked with any number of HTML documents. This is a very convenient way of formatting the entire site as well as changing the look and feel of it by editing just one file.
The file is linked with HTML documents via the LINK element inside the HEAD element. Files containing style information must have extension .css, ex. style.css.
EX.
What is an Embedded Style
Embedded style is the style attached to one specific document. The style information is specified as a content of the STYLE element inside the HEAD element and will apply to the entire document. The styling rules are written as an HTML comment, that is, between to hide the content in browsers without CSS support which would be displayed.
EX.
What is an Inline Style
Inline style is the style attached to one specific element. The style is specified directly in the start tag as a value of the STYLE attribute and will apply exclusively to this specific element.