Sunday, August 2, 2015

How To Attach Stylesheet in HTML

Hello my friends if you are try to learn HTML and CSS but you don't know how to attach stylesheet in html but also there are many ways to link style sheets to HTML, each carrying its own advantages and disadvantages. New HTML elements and attributes have been introduced to allow easy incorporation of style sheets into HTML documents so please follow the bellow steps.

1. see the feagure of attached stylesheet

Your code is must be look like above the image
so if you want to attach stylesheet please goin to the below of the <title>your site name</title>
section
and type or copy the below code and paste after the </title> tag.
<link rel="stylesheet" href="css/style.css">
Note: change value of css and style what is desired name in to the folder
The CSS is folder name and style.css is stylesheet name
so please make sure it what is have inside of your system folder