0

Guys am new to html. How can i use div and span to style up my code?

<html> <head> <title>Title</title> </head> <body bgcolor="#fff000"> <div class="section"> <h3 align="center"><span>Sammie</h3></span> </div> </body> </html>

16th Jan 2020, 9:44 AM
Samson Phiri
Samson Phiri - avatar
2 Answers
+ 2
U need to learn css to style up your code...
16th Jan 2020, 10:05 AM
ヽ(^。^)ノ✨ヽ(^。^)ノ
ヽ(^。^)ノ✨ヽ(^。^)ノ - avatar
0
You have to use CSS instead and you shouldn't put style properties into HTML tags
16th Jan 2020, 5:03 PM
Marc Oukass Gomis
Marc Oukass Gomis - avatar