Lately, I've been working on a webpage dedicated to educating people about Mars. I wanted to spice things up by using an image as the background for my HTML5 page instead of the usual plain white color. However, just inserting a .jpg link didn't quite cut it for me. Here's the code snippet I experimented with:
<!DOCTYPE HTML>
<html>
<head>
<title>My Webpage</title>
<style>
body {
background: url(https://phys.org/news/2020-05-astrobiologists-mars-rover-life-detecting-equipment.html);
}
</style>
</head>
<body>
Insert your text here...
</body>
</html>
I must admit, I'm not the most skilled programmer, as evident from this attempt. Any guidance or tips (no matter how small) would be greatly appreciated. Thank you for taking the time to read this and have a fantastic day ahead!
--
isharief