In this post we will learn How to add Background image in HTML.In the previous post we already learned that What is paragraph tag in HTML. but in this post we are learning about How to add Background image in HTML.
Below is the code to insert image in HTML:
Below is the code to insert image in HTML:
<!DOCTYPE html> <html> <head> <title>titile of your document</title> </head> <body> <body background="D:\image.jpg" height=400 width=555> <p>this is my first paragraph</p> </body> </html>
This will produce following result:
0 comments:
Post a Comment