- Published by
- Posted on
- 1 Comment
There are many people who are new to the web design field and have no idea how to insert a stylesheet externally or internally. In this quick tip I will show you multiple ways to insert your stylesheet into your HTML document.
Call Css Externally
The method below is the normal method for calling a stylesheet via HTML document. Place code inside of the head tags.
<link rel="stylesheet" type="text/css" href="style.css" />
Call Css via stylesheet
The method below is the normal method for calling a stylesheet from a css document. Place code inside of your stylesheet. @ Import tells the css document to import another stylesheet.
Call Css Internally
The code below is a way for calling a stylesheet within a HTML document. Place code inside of the body tags.
<style> /*Insert Style code here*/ </style>