WebArtz - The Web Design Forum
Welcome to WebArtz, Guest!

WebArtz is a nice place for discussions related to web designing and coding. We help our members to code their own website templates with HTML and CSS. We give them advice on various issues.

To know more about WebArtz Forum, visit the About Us page.

At the moment, you are viewing the forum as a guest. As a guest you can't make post and participate in discussions. You need to register and become a member of the forum. Click the register link below and become a part of this forum.

Thank You

WebArtz - The Web Design Forum
Welcome to WebArtz, Guest!

WebArtz is a nice place for discussions related to web designing and coding. We help our members to code their own website templates with HTML and CSS. We give them advice on various issues.

To know more about WebArtz Forum, visit the About Us page.

At the moment, you are viewing the forum as a guest. As a guest you can't make post and participate in discussions. You need to register and become a member of the forum. Click the register link below and become a part of this forum.

Thank You


You are not connected. Please login or register

View previous topic View next topic Go down  Message [Page 1 of 1]

1How to use CSS code witn in html. Empty How to use CSS code witn in html. Wed Jun 26, 2013 3:47 pm

alen


Registered Member
Registered Member
Hi,
I am a new user and i want to use CSS code with my Html Program but i can not use. so please help me and tell me how to use CSS code. and also give me some good sites to learn htlm.

Thank you.

2How to use CSS code witn in html. Empty Re: How to use CSS code witn in html. Mon Jul 01, 2013 11:57 am

bryanalvarez


Registered Member
Registered Member
There are three way to insert css in html
1.External style sheet
2.Internal style sheet
3.Inline style

http://www.online-product-designer.com

3How to use CSS code witn in html. Empty Thanks Mon Jul 01, 2013 12:10 pm

alen


Registered Member
Registered Member
Thanks bryanalvarez for your answer.
but tell me how i use external CSS ?

4How to use CSS code witn in html. Empty Re: How to use CSS code witn in html. Sat Jul 06, 2013 1:49 pm

bryanalvarez


Registered Member
Registered Member
External method for applying CSS to your HTML is to put your CSS in an external file (call it something like style.css) and then link to that CSS in your HTML file. The great thing about this method is that you can have 1000 pages (or more) in a website and have every one of them link to that stylesheet. This means you can make changes to that one CSS file and have the changes apply across all 1000 pages of your site.


There are basically 2 steps to this method, building the CSS file and then linking to the CSS file in your HTML. We won’t cover making the CSS file in this post, so let’s just assume we have a CSS file called style.css that lives in the same directory on our server as the HTML file we want to apply it to.

All we have to do is type the following in the HEAD of our HTML document:
1 <link rel="stylesheet" href="style.css" media="screen" />
As long as you have a stylesheet called style.css then any HTML file that includes that link in its HEAD will have the rules from style.css applied to it. This is generally how you would go about setting styles that control the appearance of a whole website in one place, the external CSS file.

http://www.online-product-designer.com

Sponsored content


View previous topic View next topic Back to top  Message [Page 1 of 1]

Permissions in this forum:
You cannot reply to topics in this forum