HTML Basics, Part 4: Images and Media Basics
Learn how to add images to a web page the right way: the img tag, why alt text matters, captioning with figure/figcaption, and making images responsive with srcset and picture.
Learn how to add images to a web page the right way: the img tag, why alt text matters, captioning with figure/figcaption, and making images responsive with srcset and picture.
Lesson 3 of the HTML course: the anchor element in full depth — absolute vs relative URLs, linking within a page, opening links safely in new tabs, mailto/tel links, and writing accessible link text.
Lesson 2 of the HTML course: the full heading hierarchy, paragraphs, and every commonly used text-level element — strong, em, mark, blockquote, code, abbr, and more — with accessibility and SEO reasoning for each.
The first lesson in our full HTML course: what HTML actually is, how your browser turns a text file into a webpage, and how to write and view your very first HTML document.
Learn how to validate forms using nothing but HTML5 attributes and the Constraint Validation API — faster, more accessible, and far less code than a validation library.
How to Connect an API to an HTML Page (Beginner's Guide) APIs are everywhere — they power the weather apps on our phones, real-time stock prices, and even your favorite…
How to Build Your First HTML Page (Step-by-Step Guide for Beginners) If you're just starting your journey into web development, learning how to build your first HTML page is the…
HTML (HyperText Markup Language) forms the backbone of every webpage. As a web developer, understanding HTML elements and tags is essential to structure content and ensure it renders correctly in…
Introduction Imagine visiting your favorite website, reading a blog, or watching a video online. Have you ever wondered what makes all these elements possible? The answer lies in HTML, the…