<font>
and
<u>
that were used for formatting text. In 1996, CSS1 came out and slowly started to replace the old formatting tags. Now, many browsers have stopped support for these tags, making CSS the standard in the web design world.
Once you get used to the formatting, CSS is very simple to use. There are three ways to use CSS
- in a linked style sheet (external)
- a
<style>
tag placed in the header of a page (internal) - an inline tag placed directly on the element it’s affecting.
Linked Style Sheets
The linked style sheet is created in the same format as the
<style>
tag in the header of the page, only it’s an external .css file that is pulled into the HTML page. You can load an external CSS file with the following line of text:
<link rel="stylesheet" href="style.css" type="text/css" media="screen" />