![]() |
#1 | |
Registered User
Join Date: Dec 2013
Posts: 493
|
![]()
The important points are rel, media, href. If it will go wrong then your code goes wrong.
Quote:
And the important thing is we should not give wrong path for css file. Here i have created a css folder then i have saved my 'mystyle.css' file then i am pointing that file into this html. If your style sheet will be in your main file only then no need to give any path. |
|
![]() |
![]() |
![]() |
#2 |
Registered User
Join Date: Dec 2013
Posts: 69
|
This is the most common method of attaching CSS rules to an HTML document. With this method all of your style rules are contained in a single text file that is saved with the .CSS extension. This file is saved on your server and you link to it directly from each HTML file. The link is just a simple line of HTML that you put in the <head> section of your HTML document, it looks like this:
<link rel="stylesheet" type="text/css" href="mystyles.css" media="screen" />
__________________
To view links or images in signatures your post count must be 10 or greater. You currently have 0 posts. |
![]() |
![]() |
![]() |
Currently Active Users Viewing This Thread: 1 (0 members and 1 guests) | |
|
|
![]() |
||||
Thread | Thread Starter | Forum | Replies | Last Post |
Secrete for seo | alina albert | Search Engine Optimization | 87 | 03-11-2018 05:47 AM |
The best web hosting templates (WHMCS based) just got better! | WHMCS 5.0 integrated! | zomex | Post your ad here | 9 | 02-26-2016 10:28 AM |
Coach Web site SEO - Terrific Title Tags | theshawnchin | Search Engine Optimization | 1 | 01-21-2013 10:25 PM |
A web page has been repeatedly quoted | blisterpackage | Yahoo | 0 | 11-27-2012 12:06 AM |
RSS Feed | rajivwebads | Search Engine Optimization | 12 | 08-31-2012 07:15 AM |