Pritika has to insert her photo on her home page with the following dimensions: border 3, width 250, height 400. The name of the image should be My photo. Help Pritika with the correct coding.
Answers
Code is given below.
Explanation:
<!DOCTYPE html>
<html>
<head>
<title>Pritika</title>
<style>
body {
background-color: black;
color: white;
font-family: "Times New Roman", Times, serif;
}
</style>
</head>
<body>
<h1>Welcome to Pritika's World!!</h1>
<p>You can find interesting things here.</p>
<p>Dummy text <br><br> Nulla facilisi. Morbi eleifend diam in velit blandit convallis. Vestibulum ante ipsum primis in faucibus orci luctus et ultrices posuere cubilia curae; Quisque eu suscipit mi, at ornare elit. Sed rhoncus scelerisque enim, venenatis mollis felis interdum vel. Nulla facilisi. Etiam ullamcorper lorem ex, nec tristique sapien euismod ut. In hac habitasse platea dictumst. Pellentesque pellentesque egestas lectus mattis ultricies. Curabitur et consequat enim. Quisque ultricies est et elit ultricies porta. In urna purus, semper quis pellentesque vitae, convallis quis magna. Praesent nec turpis at arcu viverra gravida eget scelerisque erat. Curabitur sit amet turpis orci. Etiam quis sodales odio.
</p>
<img src="My_photo" height=”400” width=”250” border=”3”>
</body>
</html>
Refer the attached image for output.