+ 5

CSS and HTML work together,is it true or false?

30th Apr 2017, 7:21 PM
Salma Hanane
Salma Hanane - avatar
11 Réponses
+ 18
True. CSS needs HTML, but HTML doesn't need CSS.
30th Apr 2017, 7:24 PM
Ahri Fox
Ahri Fox - avatar
+ 16
True. The easiest way to see it is to look for web codes at the code playground.
30th Apr 2017, 7:24 PM
Tashi N
Tashi N - avatar
+ 16
funny... True
1st May 2017, 12:59 AM
JΞΜΔ 🇨🇩👑
JΞΜΔ  🇨🇩👑 - avatar
+ 15
Remember back then when ads were all in pure HTML? They looked so much more convincing.
1st May 2017, 10:03 AM
Hatsy Rei
Hatsy Rei - avatar
+ 13
@visph you can still do html without css, it'll just look barebones or ugly.
1st May 2017, 6:30 AM
Ahri Fox
Ahri Fox - avatar
+ 13
@Visph Css can be used for JavaFx styling as well ^^
1st May 2017, 10:07 AM
Tashi N
Tashi N - avatar
+ 12
@visph wrong. info is info, and useful sites exist and have existed without css.
1st May 2017, 9:58 AM
Ahri Fox
Ahri Fox - avatar
+ 4
@Tashi: Also in Svg I think... maybe others, and I guess there will be more to more with time ^^ However they tend to use specifics attributes depending on context. But Css was clearly first design for and from Html. I'm agree that Html before Html5 was standalone capable, but I consider ( I'm not trying to impose a truth, but I share a point of view ;) ) this is no more true and actually Html cannot exist without Css on production actually... without JS is imaginable, especialy since last animation features of Css and/or Svg ( now usefull sub-part of Html, but SVG was standalone first designed :P )...
1st May 2017, 10:20 AM
visph
visph - avatar
+ 2
@Ahri Fox wrote: << HTML doesn't need CSS. >> I'm not agree: Html and Css are inseparable ( all the more with Html5 wich deprecate all styling possibilities of basic Html :P )... have you try to deploy a web site, or even a page with just Html? Appart from ugly text content, you cannot do anything acceptable ^^
1st May 2017, 6:10 AM
visph
visph - avatar
+ 2
@Ahri: ... but with earlier version of Html: Html5 deprecate all attributes and tags used for basic styling ^^ However it's true that Html could be standalone, but I tend to consider that Css is only a sub-part of Html language, as Css isn't used in others context :P
1st May 2017, 10:03 AM
visph
visph - avatar
+ 1
@Ahri: You can do, but it's useless ;)
1st May 2017, 6:38 AM
visph
visph - avatar