javascript
Brief description  about Online courses   join in Online courses
View manveen  kaur 's Profile

unable to understand css

i am unable to understand css. can any1 help me in getting basic things of css.
Asked by manveen kaur | May 27, 2012 |  Reply now
Replies (2)
View teacher siliconindia 's Profile
There will be a 2 page one is .CSS and .html

Take one not pad file
<html>
<head>
<link href="abc.css" rel="stylesheet" type="text/css" />
</head>
<body>
<p> Your content here </p>
</body>
</html>

Copy this code and past in not pad, save as test.html in one folder


Take one more not page file

P{ font-family:Arial, Helvetica, sans-serif; font-size:30px; color:#FF0000;}

Copy this code and past in not pad, save as abc.css in same folder which you save html file

So your abc.css is linked to test.html file… now you open your test.html file in browser there you can see red font with arial
May 27, 2012
View pratima senapati 's Profile
u hv to create a html file in notepad and place <style type=text/css>and close with</style>after title and inbetween head tag(for internal style sheet) and for external style sheet u hv to create a html file in notepad as well as in .css file and link the.css file so that it can understand the style which u hv given in .html file
May 27, 2012