+ 3
Is it correct to open and close tag like <head>..</head> in CSS
<html> <head> <style> p{ color:red; background-color:gray; } </style> </head>
8 Antworten
+ 1
The above code is correct. However.
HTML uses tags
<p></p>
CSS uses selector and declartation
p { color: blue; font size: 12px; }
+ 3
Mmmh owky...
+ 3
Sure..
+ 2
Mmmmh... How
Because closing tag and opening tag Its consist in HTML
+ 2
Abhay
I mean that,, closing tags and opening its consist in HTML and not CSS....
BUT
why..(back to question)
+ 1
Yah it's correct
0
You mean?
0
Unable to understand. Please elaborate