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.

All HTML tutorials:

  1. 25 ridiculously impressive HTML5 canvas experiments

    25 ridiculously impressive HTML5 canvas experiments

    Tutorial Beginner

    Looking to take your HTML5 animations to the next level? Get inspired by these 25 extremely cool examples of canvas in HTML5!

  2. How to create a JavaScript PDF viewer

    How to create a JavaScript PDF viewer

    Tutorial Intermediate

    Modern browsers can display PDF files, but they do so using a PDF viewer that runs in an independent tab or window, forcing users to leave your website. In...

  3. 15 Best HTML5 Audio Players for Websites

    15 Best HTML5 Audio Players for Websites

    Tutorial Beginner

    If you need a web audio player, here are a few premium HTML5 audio players for websites and MP3 players for websites that will allow you to share your audio...

  4. Start Using HTML5 WebSockets Today With a PHP Server

    Start Using HTML5 WebSockets Today With a PHP Server

    Tutorial Beginner

    One of the coolest new features of HTML5 is WebSockets, which let us talk to the server without using AJAX requests. In this tutorial, we'll review the...

  5. 13 Best HTML5 Game Templates of 2025 With Source Code

    13 Best HTML5 Game Templates of 2025 With Source Code

    Tutorial Beginner

    Do you want to build fun online games for desktop and mobile devices? HTML5 has quickly become the universal platform for creating browser-based games for...

  6. Lazy Loading Images Using HTML and JavaScript

    Lazy Loading Images Using HTML and JavaScript

    Tutorial Beginner

    This tutorial will teach you how to load images lazily using HTML and JavaScript without any third-party libraries.

  7. 19 Best HTML5 and JavaScript Game Engines and Templates

    19 Best HTML5 and JavaScript Game Engines and Templates

    Tutorial Beginner

    Do you want to code an online game? You're in luck—this is a great time for any online game developer and those aspiring to be online game developers. HTML5...

  8. Local Storage and Session Storage in JavaScript

    Local Storage and Session Storage in JavaScript

    Tutorial Beginner

    This tutorial will show you how to use local storage and session storage in a browser with JavaScript using the Web Storage API.

  9. Templating With Jinja2 in Flask: Essentials

    Templating With Jinja2 in Flask: Essentials

    Tutorial Beginner

    Understand how to lay out JInja2 templates from the perspective of Flask and how to leverage the template inheritance.

  10. Infinite Scroll Pagination With JavaScript and a REST API

    Infinite Scroll Pagination With JavaScript and a REST API

    Tutorial Beginner

    Learn how to implement Infinite Scroll pagination in JavaScript. Handle the scroll event in the front-end of your application to load the next page from a...

  11. Start Using HTML5 WebSockets With a Node.js Server

    Start Using HTML5 WebSockets With a Node.js Server

    Tutorial Intermediate

    Learn all about using WebSockets in your application and creating a steady flow of communication between client and server.

  12. Extend HTML With Custom Tags and the Shadow DOM

    Extend HTML With Custom Tags and the Shadow DOM

    Tutorial Intermediate

    This is a continuation in our custom tags series. Learn all about the Shadow DOM and how you can use it to create custom elements in HTML.