Day 29
مرحبا أصدقائي، اليوم سنستمر في دراسة كيفية تطوير تطبيقات الويب باستخدام html و css
2. Create a Page Structure Using HTML
Create an HTML File
Basic HTML File:
<!DOCTYPE html>
<html>
<head>
<title>Simple Web Application</title>
<link rel="stylesheet" href="styles.css">
</head>
<body>
<header>
<h1>Welcome to the Web Application</h1>
</header>
<nav>
<ul>
<li><a href="#home">Home</a></li>
<li><a href="#about">About</a></li>
<li><a href="#contact">Contact Us</a></li>
</ul>
</nav>
<main>
<section id="home">
<h2>Home</h2>
<p>This is the home page.</p>
</section>
<section id="about">
<h2>About</h2>
<p>Information about the Web Application.</p>
</section>
<section id="contact">
<h2>Contact Us</h2>
<form>
<label for="name">Name:</label>
<input type="text" id="name" name="name">
<label for="email">Email:</label>
<input type="email" id="email" name="email">
<button type="submit">Submit</button>
</form>
</section>
</main>
<footer>
<p>© 2024 W
eb Application</p>
</footer>
</body>
</html>
تعليقات
إرسال تعليق