oldfart commited on
Commit
9fd3768
·
1 Parent(s): c91e80e

Update index.html

Browse files
Files changed (1) hide show
  1. index.html +60 -2
index.html CHANGED
@@ -4,6 +4,55 @@
4
  <meta charset="UTF-8">
5
  <meta name="viewport" content="width=device-width, initial-scale=1.0">
6
  <title>Image Format Converter</title>
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
7
  </head>
8
  <body>
9
  <h1>Image Format Converter</h1>
@@ -16,9 +65,18 @@
16
 
17
  <label for="targetFormat">Choose Target Format:</label>
18
  <select id="targetFormat" required>
19
- <option value="image/jpeg">JPEG</option>
 
 
 
 
 
20
  <option value="image/png">PNG</option>
21
- <!-- Add more format options as needed -->
 
 
 
 
22
  </select>
23
 
24
  <button type="button" onclick="convertImage()">Convert</button>
 
4
  <meta charset="UTF-8">
5
  <meta name="viewport" content="width=device-width, initial-scale=1.0">
6
  <title>Image Format Converter</title>
7
+ <style>
8
+ body {
9
+ font-family: 'Arial', sans-serif;
10
+ max-width: 600px;
11
+ margin: 20px auto;
12
+ padding: 20px;
13
+ background-color: #f4f4f4;
14
+ border-radius: 10px;
15
+ }
16
+
17
+ h1 {
18
+ text-align: center;
19
+ color: #333;
20
+ }
21
+
22
+ form {
23
+ background-color: #fff;
24
+ padding: 20px;
25
+ border-radius: 8px;
26
+ box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
27
+ }
28
+
29
+ label, select, button {
30
+ display: block;
31
+ margin: 10px 0;
32
+ }
33
+
34
+ button {
35
+ background-color: #4caf50;
36
+ color: #fff;
37
+ padding: 10px;
38
+ border: none;
39
+ border-radius: 4px;
40
+ cursor: pointer;
41
+ }
42
+
43
+ button:hover {
44
+ background-color: #45a049;
45
+ }
46
+
47
+ a {
48
+ color: #2196F3;
49
+ text-decoration: none;
50
+ }
51
+
52
+ a:hover {
53
+ text-decoration: underline;
54
+ }
55
+ </style>
56
  </head>
57
  <body>
58
  <h1>Image Format Converter</h1>
 
65
 
66
  <label for="targetFormat">Choose Target Format:</label>
67
  <select id="targetFormat" required>
68
+ <option value="image/bmp">BMP</option>
69
+ <option value="image/eps">EPS</option>
70
+ <option value="image/exr">HDR/EXR</option>
71
+ <option value="image/gif">GIF</option>
72
+ <option value="image/ico">ICO</option>
73
+ <option value="image/jpeg">JPG</option>
74
  <option value="image/png">PNG</option>
75
+ <option value="image/svg+xml">SVG</option>
76
+ <option value="image/tga">TGA</option>
77
+ <option value="image/tiff">TIFF</option>
78
+ <option value="image/vnd.wap.wbmp">WBMP</option>
79
+ <option value="image/webp">WebP</option>
80
  </select>
81
 
82
  <button type="button" onclick="convertImage()">Convert</button>