PAGE 1 – Introduction to HTML
HTML stands for HyperText Markup Language.
It is the standard language used to create web pages.
HTML creates the structure of a website.
PAGE 2 – How the Web Works
When you type a website name in your browser:
1. Browser sends request.
2. Server responds.
3. HTML file is sent.
4. Browser displays the page.
PAGE 3 – Basic HTML Structure
<!DOCTYPE html>
<html>
<head>
<title>My First Website</title>
</head>
<body>
<h1>Hello World!</h1>
<p>This is my first webpage.</p>
</body>
</html>
PAGE 4 – HTML Tags and Elements
Tags define elements in HTML.
<p>This is a paragraph</p>
PAGE 5 – Headings and Paragraphs
<h1>Main Title</h1>
<h2>Sub Title</h2>
<p>This is a paragraph.</p>
PAGE 6 – Links and Images
<a href="[Link] Google</a>
<img src="[Link]" alt="Description">
PAGE 7 – Lists in HTML
<ul>
<li>Apple</li>
<li>Banana</li>
</ul>
<ol>
<li>Step One</li>
<li>Step Two</li>
</ol>
PAGE 8 – Forms in HTML
<form>
<input type="text" placeholder="Enter name">
<input type="password">
<button>Submit</button>
</form>
PAGE 9 – Tables in HTML
<table border="1">
<tr>
<th>Name</th>
<th>Age</th>
</tr>
<tr>
<td>Faisal</td>
<td>25</td>
</tr>
</table>
PAGE 10 – Semantic HTML & Best Practices
Use semantic tags like header, nav, main, section, article, footer.
Best Practices:
- Use indentation
- Close all tags
- Keep code clean