-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathindex.html
46 lines (43 loc) · 1.74 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
<!DOCTYPE html>
<html lang="en">
<head>
<!-- Set character set and viewport for proper rendering on devices -->
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<!-- Favicon for the browser tab -->
<link rel="icon" type="image/png" sizes="32x32" href="./assets/images/favicon-32x32.png">
<!-- Link to external stylesheet for styling -->
<link rel="stylesheet" href="style.css">
<!-- Title of the web page -->
<title>Blog preview card</title>
</head>
<body>
<!-- Main content container with blog preview card -->
<main class="container">
<!-- Container for the card's visual representation -->
<div class="image">
<!-- Image element displaying the article illustration -->
<img class="images" src="./assets/images/illustration-article.svg" alt="">
</div>
<!-- Container for the card's textual content -->
<article class="card-content">
<!-- Button for user interaction -->
<button>Learning</button>
<!-- Published date of the blog post -->
<p>Published 12 Jan 2024</p><br>
<!-- Title of the blog post -->
<h1>HTML & CSS foundations</h1><br>
<!-- Description of the blog post with gray text color -->
<p style="color: gray;">These languages are the backbone of every website, defining structure, content, and presentation.</p>
<!-- Footer section with author information -->
<footer class="footer">
<!-- Avatar image of the author -->
<img src="./assets/images/image-avatar.webp" alt="">
<!-- Strong element containing the author's name -->
<strong>Mayank Garg</strong>
</footer>
</article>
</main>
</div>
</body>
</html>