To insert an image as a background of a web page. Identify the tag and write the coding. code example
Example 1: how to add image in html
<img src="pic_trulli.jpg" alt="Italian Trulli">
Example 2: inserting a image in html backgound
<html>
<style>
body
{
background-color: url('url from web');
}
</style>
<body>
<!-- Your body displayed with the picture-->
<h1></h1>
</body>
</html>
Example 3: html create background image
<!-- Code by Scratchy -->
<!-- Twitter: @S_cratchy-->
<head>
<style>
body {
background-image: url(https://wallup.net/wp-content/uploads/2019/09/110394-cats-grey-kittens-fluffy-fat-grass-animals-cat-kitten-baby-cute-748x468.jpg)
}
</style>
<body>
You have set the background image!
</body>