-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathindex.html
66 lines (66 loc) · 2.19 KB
/
index.html
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8" />
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
<link rel="icon" type="image" href="blog.png" />
<link rel="stylesheet" href="styles.css" />
<title>Content Management Tool</title>
</head>
<body background="imagesss.jpeg">
<header>
<h1>Content Management Tool</h1>
<div>
<p>Name: <span style="font-weight: bold;">Hritik Ranjan</span></p>
<p>Email: [email protected]</p>
<p>LinkedIn: <a href="https://www.linkedin.com/in/hritik-ranjan-05a835230">LinkedIn Profile</a></p>
<p>GitHub: <a href="https://github.com/hritikranjan1">GitHub Profile</a></p>
</div>
</header>
<section>
<form id="blogForm" enctype="multipart/form-data">
<div class="form-group">
<label for="title">Title:</label>
<input type="text" id="title" name="title" required />
</div>
<div class="form-group">
<label for="content">Content:</label>
<textarea id="content" name="content" required></textarea>
</div>
<div class="form-group">
<label for="image">Image:</label>
<input
type="file"
id="image"
name="image"
accept="image/*"
required
/>
</div>
<div class="form-group">
<label for="video">Video:</label>
<input
type="file"
id="video"
name="video"
accept="video/*"
required
/>
</div>
<div class="form-submit">
<button type="submit">Submit</button>
</div>
</form>
<div id="submitted-content">
<h2>My Blog</h2>
<p><strong>Title:</strong> <span id="title-display"></span></p>
<p><strong>Content:</strong> <span id="content-display"></span></p>
<p><strong>Image:</strong></p>
<img id="image-display" src="" alt="Submitted Image" />
<p><strong>Video:</strong></p>
<video id="video-display" src="" controls></video>
</div>
</section>
<script src="script.js"></script>
</body>
</html>