HTML Full Course - Notes from Bro Code (YouTube)
1. HTML Basics
HTML (HyperText Markup Language) is used to structure web content.
Basic structure:
<!DOCTYPE html>
<html>
<head><title>Page Title</title></head>
<body>
<!-- Content here -->
</body>
</html>
2. Common Tags
Headings: <h1> to <h6>
Paragraphs: <p>
Line Breaks: <br>
Horizontal Rule: <hr>
3. Links and Images
Links: <a href='url'>Text</a>
Images: <img src='path' alt='desc'>
4. Lists
Unordered: <ul><li>Item</li></ul>
Ordered: <ol><li>Item</li></ol>
5. Media
Audio:
HTML Full Course - Notes from Bro Code (YouTube)
<audio controls><source src='audio.mp3'></audio>
Video:
<video controls><source src='video.mp4'></video>
6. Tables
<table>
<tr><th>Header</th></tr>
<tr><td>Data</td></tr>
</table>
7. Forms
<form>
<input type='text'>
<input type='submit'>
</form>
8. Semantic Elements
Examples: <header>, <footer>, <nav>, <section>, <article>, <main>
9. Other Elements
<div>: block-level container
<span>: inline container
Comments: <!-- comment -->