+ 1

Can we use css in html body?

14th Jan 2018, 8:22 PM
Anmol Sharma
Anmol Sharma - avatar
7 Answers
+ 3
You can use inlined css in the 'style' attribute of any html element (as <body>, as specifed by @Ipang), but even more, you can use any numbers of <style> elements inside <body>, even if we usually put them in the <head> part of the document ^^...
15th Jan 2018, 5:11 AM
visph
visph - avatar
+ 6
Yes we can, use inline style for in-body styling, e.g <p style="text-align:justify;">This is a paragraph with inline style</p>
14th Jan 2018, 8:33 PM
Ipang
+ 6
You're welcome, glad to help : )
14th Jan 2018, 8:35 PM
Ipang
+ 1
helpful thnc
14th Jan 2018, 8:33 PM
Anmol Sharma
Anmol Sharma - avatar
+ 1
thnx
14th Jan 2018, 8:33 PM
Anmol Sharma
Anmol Sharma - avatar
+ 1
at very besic lvl.
14th Jan 2018, 8:36 PM
Anmol Sharma
Anmol Sharma - avatar
+ 1
thnxx visph it hlps
15th Jan 2018, 5:14 AM
Anmol Sharma
Anmol Sharma - avatar