|
<!DOCTYPE html> |
|
<html lang="en"> |
|
<head> |
|
<meta charset="UTF-8"> |
|
<meta name="viewport" content="width=device-width, initial-scale=1.0"> |
|
<title>Image Format Converter</title> |
|
<style> |
|
body { |
|
font-family: 'Arial', sans-serif; |
|
max-width: 600px; |
|
margin: 20px auto; |
|
padding: 20px; |
|
background-color: #f4f4f4; |
|
border-radius: 10px; |
|
} |
|
|
|
h1 { |
|
text-align: center; |
|
color: #333; |
|
} |
|
|
|
form { |
|
background-color: #fff; |
|
padding: 20px; |
|
border-radius: 8px; |
|
box-shadow: 0 0 10px rgba(0, 0, 0, 0.1); |
|
} |
|
|
|
label, select, button, input { |
|
display: block; |
|
margin-bottom: 15px; |
|
} |
|
|
|
select, input { |
|
width: 100%; |
|
padding: 10px; |
|
border: 1px solid #ccc; |
|
border-radius: 4px; |
|
} |
|
|
|
input[type="checkbox"] { |
|
margin-right: 5px; |
|
} |
|
|
|
button { |
|
background-color: #4caf50; |
|
color: #fff; |
|
padding: 10px; |
|
border: none; |
|
border-radius: 4px; |
|
cursor: pointer; |
|
transition: background-color 0.3s ease; |
|
} |
|
|
|
button:hover { |
|
background-color: #45a049; |
|
} |
|
|
|
a { |
|
color: #2196F3; |
|
text-decoration: none; |
|
display: block; |
|
margin-top: 10px; |
|
} |
|
|
|
a:hover { |
|
text-decoration: underline; |
|
} |
|
</style> |
|
</head> |
|
<body> |
|
<h1>Image Format Converter</h1> |
|
|
|
<form id="imageForm"> |
|
<label for="imageInput">Select an Image:</label> |
|
<input type="file" id="imageInput" accept="image/*" |
|
|