mirror of
https://github.com/codeninjasuk/html-basics.git
synced 2024-11-22 07:17:57 -05:00
Create index.html
This commit is contained in:
parent
8ca10f047e
commit
feba50757f
1 changed files with 45 additions and 0 deletions
45
index.html
Normal file
45
index.html
Normal file
|
@ -0,0 +1,45 @@
|
||||||
|
<!DOCTYPE html>
|
||||||
|
<html>
|
||||||
|
<head>
|
||||||
|
<title>My Fan Page</title>
|
||||||
|
<style>
|
||||||
|
body {
|
||||||
|
background-color: lightblue;
|
||||||
|
font-family: Arial, sans-serif;
|
||||||
|
}
|
||||||
|
h1 {
|
||||||
|
color: darkblue;
|
||||||
|
}
|
||||||
|
h2 {
|
||||||
|
color: darkred;
|
||||||
|
}
|
||||||
|
p {
|
||||||
|
color: darkgreen;
|
||||||
|
}
|
||||||
|
img {
|
||||||
|
width: 300px;
|
||||||
|
height: auto;
|
||||||
|
}
|
||||||
|
</style>
|
||||||
|
</head>
|
||||||
|
<body>
|
||||||
|
|
||||||
|
<h1>Welcome to My Fan Page!</h1>
|
||||||
|
|
||||||
|
<h2>About My Favorite Thing</h2>
|
||||||
|
<p>This is a paragraph where you can write about your favorite thing. It could be a person, a character from a movie, a band, or anything else you love!</p>
|
||||||
|
|
||||||
|
<h2>Why I Love It</h2>
|
||||||
|
<p>Here, you can write about why you love your favorite thing so much. What makes it special to you? Why do you think other people should love it too?</p>
|
||||||
|
|
||||||
|
<h2>My Favorite Picture</h2>
|
||||||
|
<img src="https://via.placeholder.com/300" alt="My Favorite Thing">
|
||||||
|
|
||||||
|
<h2>Fun Fact</h2>
|
||||||
|
<p>Did you know? You can add fun facts about your favorite thing here. It can be something interesting or surprising!</p>
|
||||||
|
|
||||||
|
<h2>Another Section</h2>
|
||||||
|
<p>You can add more sections like this one if you have more to say. Just copy and paste one of the sections above and change the title and text!</p>
|
||||||
|
|
||||||
|
</body>
|
||||||
|
</html>
|
Loading…
Reference in a new issue