INTERMEDIATE)
Notebook■style notes with highlights, examples, questions, and beginner projects.
,1. Introduction to HTML
• HTML stands for HyperText Markup Language.
• It is used to create the structure of webpages.
• HTML uses tags to organize content like headings, paragraphs, images and links.
• Web browsers read HTML and display webpages.
Practice writing small HTML examples after learning each topic.
2. Structure of an HTML Page
• Every HTML page has a basic structure.
• DOCTYPE tells the browser the HTML version.
• Head section stores metadata.
• Body section contains visible webpage content.
Practice writing small HTML examples after learning each topic.
3. HTML Tags
• Tags are keywords wrapped in angle brackets.
• Most tags have opening and closing tags.
• Example: <p>Paragraph</p>
• Some tags are self■closing like <img> and <br>.
Practice writing small HTML examples after learning each topic.
4. Headings and Paragraphs
• HTML provides headings from <h1> to <h6>.
• <h1> is the largest heading.
• Paragraphs are created using the <p> tag.
Practice writing small HTML examples after learning each topic.
5. Text Formatting
• Bold text uses <b> or <strong>.
• Italic text uses <i> or <em>.
• Line break uses <br>.
• Horizontal line uses <hr>.
Practice writing small HTML examples after learning each topic.
, 6. Lists
• Ordered list uses <ol>.
• Unordered list uses <ul>.
• Each list item uses <li>.
Practice writing small HTML examples after learning each topic.
7. Links
• Links connect one webpage to another.
• Anchor tag <a> is used.
• href attribute defines the link address.
Practice writing small HTML examples after learning each topic.
8. Images
• Images are added using the <img> tag.
• src attribute defines image path.
• alt attribute describes image.
Practice writing small HTML examples after learning each topic.
9. Tables
• Tables organize data into rows and columns.
• <table> creates the table.
• <tr> creates rows.
• <td> creates cells.
Practice writing small HTML examples after learning each topic.
10. Forms
• Forms collect user input.
• <form> tag creates a form.
• Input types include text, password, email and submit.
Practice writing small HTML examples after learning each topic.
11. Semantic HTML