BACKGROUND ELEMENT

With this element we can change the background with image. For this we can use JPG, PNG, GIF,JPEG image. In the beginning we have said we need to keep HTML files in a folder. If you didnt do that yet, now its time to do that. To use the image as background we must need to keep those where are the HTML files. We cam make a folder name "test" and keep html files there and also save those images insider "test" folder. We can also create a folder inside test folder and name it Image and keep image files there. Lets try.

The format is <Body Background=filename.jpg>

 Here is the Example

 
<HTML>
<Head>
<Title> Example of Background Image</Title>
</Head>
<Body background=bg.jpg>
<H1>This is Tanjies </H1>
<P><Strong>Services we are providing</strong></p>
<OL>
<Li>Web Development
<Li>Search Engine Optimization
<Li>Web Application
<Li>Social Media Marketing
</OL>
<P><Strong>Themes We are Using </strong></p>
<OL>
<Li>The 7
<Li>Avada
<Li>Jollyall
<Li>Udesign
</OL>
<Body>
</HTML>

The saving procedure is like before, but if u face something wrong then don't forget to write me. 

 

0 comments:

Post a Comment