Learn HTML

Learn how to create the backbone of any website with our HTML tutorials. Start from scratch or brush up on the latest features and best practices.
  1. HTML Element: blockquote

    HTML Element: blockquote

    Tutorial Beginner

    The HTML blockquote element is used to indicate a more extended quotation or citation taken from another source. It is typically used to set off a block of...

  2. The 30 CSS Selectors You Must Memorize

    The 30 CSS Selectors You Must Memorize

    Tutorial Intermediate

    Have you learned the base id, class, and descendant CSS selectors and then called it a day? If so, you’re missing out on an enormous level of flexibility....

  3. Event Bubbling and Event Capturing in JavaScript

    Event Bubbling and Event Capturing in JavaScript

    Tutorial Beginner

    In this post you'll learn about event bubbling and event capturing. These are two powerful concepts that lead to event delegation in JavaScript.

  4. How to Build an HTML Accordion (No CSS or JavaScript!)

    How to Build an HTML Accordion (No CSS or JavaScript!)

    Tutorial Beginner

    In this tutorial, we’ll build a fully functional HTML accordion component without any JavaScript, very little CSS and one very nifty HTML element.

  5. HTML Element: b

    HTML Element: b

    Tutorial Beginner

    The HTML b element allows you to make text bold (it stands for “bold”) and is used to add emphasis to text. In HTML5, the b element has been deprecated in...

  6. HTML Element: area

    HTML Element: area

    Tutorial Beginner

    The HTML area element is used with the map element to define clickable areas on an image. This pairing allows you to create interactive image maps where...

  7. HTML Element: body

    HTML Element: body

    Tutorial Beginner

    The body element in HTML is used to define the main content of an HTML document. A webpage’s visible content is typically contained within the body element.

  8. HTML Element: audio

    HTML Element: audio

    Tutorial Beginner

    The HTML audio element allows you to embed audio content (like songs, sound effects, or podcasts) directly into your web page.

  9. HTML Element: abbr

    HTML Element: abbr

    Tutorial Beginner

    The abbr element helps provide a concise and consistent way of representing abbreviations and acronyms throughout a website. It also gives the user...

  10. HTML Element: address

    HTML Element: address

    Tutorial Beginner

    The HTML address element represents the contact information for a person or organization associated with the document. It shouldn’t be used for arbitrary...

  11. HTML Element: article

    HTML Element: article

    Tutorial Beginner

    The article element represents a section of content that is self-contained and can be independently distributed or reused. It typically contains a heading...

  12. How to Use the HTML “base” Tag

    How to Use the HTML “base” Tag

    Tutorial Beginner

    The base tag in HTML is a relatively little known element, but it enables you to do two things: set any URL you choose as the base for all relative URLs, and...