Home
About Me
Contact

Upcoming!


Upcoming!


The thing you've been waiting for... Changing Background Colors!

The bgcolor attribute of the body tag sets
the background color! Here is the syntax for that super colorful attribute:



<body <bgcolor = "yellow" >Some text... </body>



It is written with the body tag.

<!DOCTYPE html>
<html lang="en">
<body bgcolor= "red">
<p>This text is not just any text, It's gonna have a background color!</p>
</body>
</html>

<< Previous Next >>

Courses:

Javascript CSS HTML

Glossary

Centel Technologies Private Limited © 2020
All rights reserved.