+ 2

is css only used for styling and we have to use html and css every time? why can't we get desired things only using css?

why?

13th Dec 2017, 6:49 PM
Archana
3 Answers
+ 9
Html is mark-up language and CSS is a stylesheet language. You can't write CSS without HTML tags. However you can make a static webpage without CSS. So html is structure of web. You can say CSS is useless without HTML.
13th Dec 2017, 7:30 PM
Ranjan Bagri
Ranjan Bagri - avatar
+ 4
Yes, since css is not a real programing language it can only be used to modify html documents(hence it is called a complementary language to html), so without html, css is useless
13th Dec 2017, 7:30 PM
the_code_genin
the_code_genin - avatar
0
you could say css "manipulates" the elements of a website in a stylistic way but those elements have to get created in html without html there is nothing you can "manipulate" with css
14th Dec 2017, 12:55 PM
Nick
Nick - avatar