How to write css in html itself | Sololearn: Learn to code for FREE!
Новый курс! Каждый программист должен знать генеративный ИИ!
Попробуйте бесплатный урок
+ 2

How to write css in html itself

please reply

15th May 2018, 4:50 PM
Developer.R
Developer.R - avatar
5 ответов
+ 1
<tag_name style ="property: value; "></tag_name> in head tag <style > tag_name{ property : value; } </style>
15th May 2018, 5:06 PM
Akib
Akib - avatar
+ 4
Use the <style> tag.
15th May 2018, 5:05 PM
Vivek Sivaramakrishnan
Vivek Sivaramakrishnan - avatar
15th May 2018, 5:13 PM
Rajeeb
+ 1
thanks for positive reply
16th May 2018, 3:26 AM
Developer.R
Developer.R - avatar
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.
16th May 2018, 3:31 PM
Bartłomiej Kwak
Bartłomiej Kwak - avatar