


Step 1: Firstly, we have to type the Html code in any text editor or open the existing Html file in the text editor in which we want to use the Internal CSS option for adding the background image. There are two types of gradient backgrounds: linear-gradient and radial-gradient. Using these steps, we can easily view an image on a web page: Gradient backgrounds let you create smooth transitions between two or more specified colors. If we want to add the background image in the Html document using the Internal CSS then we have to follow the steps which are given below. The output of the above code is shown in the following screenshot: Using Internal Style Sheet Īnd, this section helps you to understand how to add the background image in an Html page using the background attribute. This page helps us to understand how to show the backround image of a web page. Add the Background image using background attribute
