HTML_Notes
HTML_Notes
1. Introduction to 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>
- Ordered List:
<ol>
<li>Item 1</li>
<li>Item 2</li>
</ol>
- Unordered List:
<ul>
<li>Item A</li>
<li>Item B</li>
</ul>
6. 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>
7. Forms:
</form>
8. Semantic Elements:
- <header>, <footer>, <nav>, <article>, <section> help structure the content meaningfully.
9. Media Elements:
</video>
<audio controls>
</audio>
13. Comments: