+ 11
Can I code using just css, without linking it to a html document?
5 Respuestas
+ 9
Thanks Maneren, am actually feeling stupid now for such a lame question.
+ 2
No, you can't
In css you style html elements with color etc.
Without html you have nothing to style at all.
+ 2
No worries i also have this kind of questions when I was beggining.
+ 2
Generally you use CSS to make the HTML content more user-attractive than before.
You can code it but should be linked definitely, if external CSS file is written.
+ 1
You can write the CSS within your HTML DOC/ page. No need to link a style sheet.
However it is best practice when creating a website to have one style sheet linked to every HTML page for all the CSS needed on your website.