CSS Help Needed?

+1 Pavle Knezevic · October 31, 2014
Hi i am at the tutorial 17  |  RGB  Color and Line Spacing:
So I have one Question.
How can I link CSS  and  HTML if they are diffrent files?
I forgot about links and that stuff.
I like it more to be HTML one file and CSS second one.
If anybody can help me please reply.

Thanks,Pavle

Post a Reply

Replies

Oldest  Newest  Rating
0 Pavle Knezevic · October 31, 2014
Thank you both.
You answered my question.
0 Jeremy Utiera · October 31, 2014
I think what you're after is in tutorial 2, at the 5 minute mark. I'd rather you looked it up instead of just giving you what you need.
edit; the video I mean is in the HTML5 tutorials, sorry for not being clear.
0 Ibrahim Tuzlak · October 31, 2014
Hello.

External CSS file really is a nicer way.
from http://www.w3schools.com/tags/tag_link.asp:

<link rel="stylesheet" type="text/css" href="theme.css">

inside <head>, where "theme.css" is the link to your external CSS file.
  • 1

HTML / CSS / Web Design

107,044 followers
About

Discuss, share, ask, learn and teach HTML5 and CSS3.

Links
Moderators