Setup Environment

To set up for using CSS is fairly simple. There are two ways one is internal


What we do here is use a style tag to let us know what type of file we will be using, then all of our code will go within. This is usually placed within the head tags of our html code. We would use this if we aren't making too many css rules or we want something to act differently for just this one page.

Then there is external:


In external css we use the link tag, which will also tell us the type, but with href it gives us the path to css file as well as what relationship(rel) it has to our html file, in our case "stylesheet". This tag is also added within our head tags.