Web Page Template:
Web Page Template:
Immage:
Asid Section: ( for each page)
- Section, For Page Related section Links
- Section, Other Page Links to go there
Sample Code:
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8" />
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
<title>Your Website Title</title>
<link rel="stylesheet" href="web_page_template.css">/*(own css file)*/
<script src="https://cdn.tailwindcss.com"></script>
</head>
<body class="bg-gray-50 text-gray-800 font-sans">
<!-- Header -->
<header class="bg-white shadow">
<div class="max-w-7xl mx-auto px-4 py-4 flex justify-between items-center">
<h1 class="text-xl font-bold">YourBrand</h1>
<nav class="space-x-4">
<a href="#" class="text-gray-600 hover:text-black">Home</a>
<a href="#" class="text-gray-600 hover:text-black">About</a>
<a href="#" class="text-gray-600 hover:text-black">Services</a>
<a href="#" class="text-gray-600 hover:text-black">Contact</a>
</nav>
</div>
</header>
<!-- Main Content -->
<main class="py-10 px-4 max-w-7xl mx-auto">
<section class="text-center mb-12">
<h2 class="text-3xl font-semibold mb-2">Welcome to Your Website</h2>
<p class="text-gray-600">This is a basic template to get you started.</p>
</section>
<section class="grid md:grid-cols-3 gap-6">
<div class="bg-white rounded-xl p-6 shadow">
<h3 class="text-xl font-semibold mb-2">Feature One</h3>
<p class="text-gray-600">Description of the feature or service.</p>
</div>
<div class="bg-white rounded-xl p-6 shadow">
<h3 class="text-xl font-semibold mb-2">Feature Two</h3>
<p class="text-gray-600">Description of the feature or service.</p>
</div>
<div class="bg-white rounded-xl p-6 shadow">
<h3 class="text-xl font-semibold mb-2">Feature Three</h3>
<p class="text-gray-600">Description of the feature or service.</p>
</div>
</section>
</main>
<!-- Footer -->
<footer class="bg-white shadow mt-12">
<div class="max-w-7xl mx-auto px-4 py-6 text-center text-sm text-gray-500">
© 2025 YourBrand. All rights reserved.
</div>
</footer>
</body>
</html>
1. Root Directory: Main folder containing all website files.
2. HTML Files: Store main.html files at the root level for easy access.
3. CSS Folder: Create a css/folder for all Cascading Style Sheets.
4. JS Folder: Use a scripts/folder for JavaScript files.
5. Images Folder: Store images in an images/ or images/folder.
6. Assets: Other assets like fonts can go in an assets/folder.
7. Sub-directories: For multi-page websites, us folders to categorize content.


Comments
Post a Comment