3 ways to apply Stylesheet

1. External Style Sheet:
<head>
<link rel="stylesheet" type="text/css" href="mystyle.css">
</head>

2. Internal Style Sheet:
<head>
<style>
body {
    background-color: black;
}
</style>
</head>

3. Inline Styles:
<p style="color:red;">Red in color</p>

Reference:
http://www.w3schools.com/css/css_howto.asp

No comments:

Post a Comment