Thanks to visit codestin.com
Credit goes to www.scribd.com

0% found this document useful (0 votes)
14 views2 pages

!DOCTYPE HTML Banana

This document is an HTML webpage featuring a title, a welcome message, and a marquee displaying scrolling images. It includes styling for the layout, images, and a button that triggers a JavaScript alert when clicked. The webpage is designed to be visually appealing with a light background and centered text.

Uploaded by

morola.adekoya11
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as TXT, PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
14 views2 pages

!DOCTYPE HTML Banana

This document is an HTML webpage featuring a title, a welcome message, and a marquee displaying scrolling images. It includes styling for the layout, images, and a button that triggers a JavaScript alert when clicked. The webpage is designed to be visually appealing with a light background and centered text.

Uploaded by

morola.adekoya11
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as TXT, PDF, TXT or read online on Scribd
You are on page 1/ 2

<!

DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<title>Webpage with Scrolling Images</title>
<style>
body {
font-family: Arial, sans-serif;
background-color: #f0f8ff;
text-align: center;
padding: 30px;
}

h1 {
color: #2e8b57;
}

p {
font-size: 18px;
color: #333;
}

.marquee-images img {
width: 200px;
height: auto;
margin: 0 15px;
border-radius: 10px;
box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
}

button {
padding: 10px 20px;
font-size: 16px;
margin-top: 30px;
cursor: pointer;
}
</style>
</head>
<body>

<h1>Welcome to My Webpage</h1>
<p>Check out these cool scrolling images below!</p>

<marquee class="marquee-images" behavior="scroll" direction="left"


scrollamount="5">
<img src="https://via.placeholder.com/200x150?text=Image+1" alt="Image 1">
<img src="https://via.placeholder.com/200x150?text=Image+2" alt="Image 2">
<img src="https://via.placeholder.com/200x150?text=Image+3" alt="Image 3">
<img src="https://via.placeholder.com/200x150?text=Image+4" alt="Image 4">
</marquee>

<button onclick="sayHello()">Click Me</button>

<script>
function sayHello() {
alert("Hello! Thanks for clicking the button.");
}
</script>
</body>
</html>

You might also like