← HTML & CSS learning pathHTML & CSS · Module 2 of 10
Text, links and images
Add headings, paragraphs, lists, links and images with the right tags.
📖 Key ideas
- Headings <h1> to <h6>; one main <h1> per page.
- <p> for paragraphs, <ul>/<ol> with <li> for lists.
- <a href="url">text</a> creates links.
- <img src="photo.jpg" alt="description"> shows images; alt is for screen readers.
- <strong> and <em> add importance and emphasis.
💡 Real-life example: Headings are chapter titles, paragraphs are the pages, links are the index pointing to other books.
<a>Creates a link
altText description of an image
<ul>Bulleted list
<h1>Main heading