HTML Notes
HTML Notes
----------------------------------
Key Elements:
3. <head>: Contains meta-information about the document (e.g., title, links to CSS).
4. <body>: Contains the content of the document, like text, images, and links.
8. <img>: Embeds images, uses 'src' attribute to specify the image URL.
10. <div> and <span>: Container elements for grouping content, useful in layout design.
Attributes:
- href, src, alt, target, rel (specific to certain tags like <a>, <img>).
Semantic HTML:
- <header>, <footer>, <main>, <article>, <section>: Enhance document structure for better SEO and
accessibility.