Subscribe N Show Support



How to Add Background Color on Homepage in HTML ? - Smartest Blogger

How to Add Background Color on Homepage in HTML ? - Smartest Blogger


How to Add Background Color on Homepage in HTML? - Smartest Blogger.


Welcome back friends to add another new blog I am your host  Sumit Pratap Yadav and in this blog, I am going to tell you How to Add Background Color on the Homepage in HTML?  so without wasting time let get started.  don't forget to subscribe to our YouTube channel - the smartest blogger and hit the bell icon to get all the notifications from time to time.




  Every home page or web page needs a background image or background-color In this blog I am going to tell you how to add background color on your home page on a web page in HTML language? We will further learn about how to create an attractive and fully functional web page so join us by subscribing to our YouTube channel -  smartest blogger and hit the bell icon to get further notifications from time to time.  let's get directed to our topic - 




How to Add Background Color on Homepage in HTML? - Step 1 


  in our first step just have to open your vs studio after that you just need to search your body tag you will get highlighted ii in the VS Code.  in the opening tag of the body tag just have to add the style attribute which you have earlier learn in my previous videos if you're not then watch the below link or video which is mentioned below. Click on that link and will be redirected to my video in which I have told you how to use the style attribute in HTML language. 


How to Add Inline CSS in HTML Language - https://youtu.be/rEw-DMg6QnQ



How to Add Background Color on Homepage in HTML? - Step 2 -


After writing the style attribute in the body tag you have to choose the background color from the list mention in the VS Code. After choosing the background color you have to choose the color from the list given there.  choose the color which you want and save the code.  go to your HTML page and refreshed it. You can see the changes which you have done in the script.



Conclusion -

        So, thank you for reading this blog and if you have any doubt then please comment me down and share it with your all friends. And at the end don't forget to Subscribe Our Youtube Channel - Smartest Blogger.



Follow Me on - 

Instagram: @sumit_spy_985

Facebook: @sumitpratapyadav

Twitter: @yadavsumit2

Post a Comment

0 Comments