0

Why is it that CSS cannot be written in an HTML document and vice versa?

1st Aug 2016, 8:09 AM
J. Hall
J. Hall - avatar
2 ответов
0
it can be, even in the Head of the document with the <style>p{font-weight: Bold;}</style> even though its easyer to maintain when you put it in an external file
1st Aug 2016, 9:59 PM
Robert Hollander
Robert Hollander - avatar
0
Well, css can be embeded in Html. HTMl in css wouldn't be logical, because without the html, the css doesn't know what to do.
3rd Aug 2016, 2:20 AM
Starwarsman981