-
Notifications
You must be signed in to change notification settings - Fork 14
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
537834c
commit 18afb7e
Showing
5 changed files
with
122 additions
and
2 deletions.
There are no files selected for viewing
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,69 @@ | ||
<!DOCTYPE html> | ||
<html lang="en"> | ||
<head> | ||
<meta charset="UTF-8"> | ||
<meta name="viewport" content="width=device-width, initial-scale=1.0"> | ||
<title>Sample HTML Document</title> | ||
<style> | ||
body { | ||
font-family: Arial, sans-serif; | ||
margin: 0; | ||
padding: 0; | ||
background-color: #f4f4f4; | ||
} | ||
header { | ||
background-color: #333; | ||
color: #fff; | ||
padding: 1rem 0; | ||
text-align: center; | ||
} | ||
nav ul { | ||
list-style: none; | ||
padding: 0; | ||
} | ||
nav ul li { | ||
display: inline; | ||
margin: 0 1rem; | ||
} | ||
nav ul li a { | ||
color: #fff; | ||
text-decoration: none; | ||
} | ||
main { | ||
padding: 2rem; | ||
} | ||
footer { | ||
background-color: #333; | ||
color: #fff; | ||
text-align: center; | ||
padding: 1rem 0; | ||
position: absolute; | ||
bottom: 0; | ||
width: 100%; | ||
} | ||
</style> | ||
</head> | ||
<body> | ||
<header> | ||
<h1>Welcome to My Website</h1> | ||
<nav> | ||
<ul> | ||
<li><a href="#home">Home</a></li> | ||
<li><a href="#about">About</a></li> | ||
<li><a href="#contact">Contact</a></li> | ||
</ul> | ||
</nav> | ||
</header> | ||
<main> | ||
<h2>Home</h2> | ||
<p>This is a sample HTML document to demonstrate the basic structure of an HTML page. You can use this as a starting point for your own web projects.</p> | ||
<h2>About</h2> | ||
<p>Learn more about the purpose of this website and the content it provides.</p> | ||
<h2>Contact</h2> | ||
<p>If you have any questions or comments, feel free to reach out through the contact form.</p> | ||
</main> | ||
<footer> | ||
<p>© 2024 My Website</p> | ||
</footer> | ||
</body> | ||
</html> |
Empty file.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters