+ 2
How to write css in html itself
please reply
5 Antworten
+ 1
<tag_name style ="property: value; "></tag_name>
in head tag
<style >
tag_name{
property : value;
}
</style>
+ 4
Use the <style> tag.
+ 1
use this link
https://www.w3schools.com/html/html_css.asp
+ 1
thanks for positive reply
0
Although internal <style> can be used anywhere inside <html> tag not only in <head> like w3schools says, it's probably because of the new HTML5.