Basic HTML Notes With Tags
Basic HTML Notes With Tags
1. What is HTML?
<!DOCTYPE html>
<html>
<head>
<title>Page Title</title>
</head>
<body>
<h1>This is a Heading</h1>
<p>This is a paragraph.</p>
</body>
</html>
- Paragraph: <p>
- Unordered List:
<ul>
<li>Item 1</li>
<li>Item 2</li>
</ul>
- Ordered List:
<ol>
<li>First</li>
<li>Second</li>
</ol>
5. Tables
<table border="1">
<tr>
<th>Header 1</th>
<th>Header 2</th>
</tr>
<tr>
<td>Data 1</td>
<td>Data 2</td>
</tr>
</table>
6. Forms (Basics)
</form>
7. HTML Attributes
8. Semantic Elements