Don't understand what's wrong


I wrote the code as instructed in style.CSS without using elements.


Even after that the output is same as it was without styling with css.

One more doubt I have that
How to link HTML code with CSS code.


Hi raviran68,

Have you linked your CSS file with HTML file? It can be done as below:

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

you have to add this between <head> tags


No sir I was not aware of was described in next topic.
Thank u very much for helping


This topic was automatically closed 7 days after the last reply. New replies are no longer allowed.