Why there is no tag in HTML like <CSS> ? Can anyone tell me why we use <style> tag instead of <CSS>...??? | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
+ 3

Why there is no tag in HTML like <CSS> ? Can anyone tell me why we use <style> tag instead of <CSS>...???

These technical Questions only a Genius can guess...

31st Mar 2017, 3:38 PM
Shehenshah Mughal
Shehenshah Mughal - avatar
12 Answers
+ 24
Lol...Genius?... Buddy you lost me there.. ~_~
31st Mar 2017, 3:39 PM
Frost
Frost - avatar
+ 13
maybe because CSS is developed long after HTML take off or maybe it is mean to be developed separately from the main HTML (web page) structure or maybe i am not Genious.
31st Mar 2017, 3:48 PM
Agus Mei
Agus Mei - avatar
+ 11
there are more styling languages than just css, but css is the most used and therefore standard. https://en.wikipedia.org/wiki/List_of_stylesheet_languages?wprov=sfla1
31st Mar 2017, 4:02 PM
Mario L.
Mario L. - avatar
+ 8
Wow! It's a question which has an answer but I suppose he died long ago who knew the answer. Nobody knows the answer except the creator of CSS.
31st Mar 2017, 3:52 PM
Cyrus Ornob Corraya
Cyrus Ornob Corraya - avatar
+ 8
Wow! @Shehenshah Mughal You are very genius but in a dumb way!!!
31st Mar 2017, 4:55 PM
Cyrus Ornob Corraya
Cyrus Ornob Corraya - avatar
+ 7
Maybe the creators thought that HTML and CSS are equal and one should not contain other (<css> inside <html>). Just a guess, which is most probably wrong.
31st Mar 2017, 4:34 PM
Krishna Teja Yeluripati
Krishna Teja Yeluripati - avatar
+ 6
I guess because CSS is cascading STYLE sheets..And used for styling purpose 😂
31st Mar 2017, 4:21 PM
Ashwani Kumar
Ashwani Kumar - avatar
+ 5
once upon a time HTML was created. So that text could be send. Someone wanted to <style> it and so CSS came up. In order to make it dynamic someone decided to <script> it with JavaScript. So now we have it! 😁
31st Mar 2017, 4:00 PM
Elias Papachristos
Elias Papachristos - avatar
+ 3
Ashwani Kumar you Exactly got it...
31st Mar 2017, 4:27 PM
Shehenshah Mughal
Shehenshah Mughal - avatar
+ 3
The Answer here... CSS stands for 'Cascading Style Sheet'... so if we separately create CSS(external) so it would a 'Sheet' attached to HTML Document...so we call it CSS with .css while when we 'apply' CSS on HTML using Style attribute or <style> tag you can't say it Sheet...So it can't be <CSS>... A Sheet always means as a separate thing.
31st Mar 2017, 4:47 PM
Shehenshah Mughal
Shehenshah Mughal - avatar
+ 2
But the correct answer exists Guess...
31st Mar 2017, 3:52 PM
Shehenshah Mughal
Shehenshah Mughal - avatar
3rd May 2020, 2:30 PM
Mariazinha Dossantos
Mariazinha Dossantos - avatar