bugl
bugl
HomeLearnPatternsSearch
HomeLearnPatternsSearch

Loading lesson path

Learn/HTML

HTML

Graphics, Media, and Browser Features

Canvas, SVG, media, web APIs, storage, and browser-native capabilities in one place.

Lesson 1visual

HTML Canvas Graphics

Your browser does not support the <canvas> element. The HTML <canvas> element is used to draw graphics on a web page. The graphic to the left is created with <canvas>. It shows four elements: a red r…

3 min
Read lesson →
Lesson 2

HTML Multimedia

Multimedia on the web is sound, music, videos, movies, and animations. What is Multimedia? Multimedia comes in many different formats. It can be almost anything you can hear or see, like images, musi…

3 min
Read lesson →
Lesson 3visual

HTML - What is a Web API?

A Web API is a developer's dream. It can extend the functionality of the browser It can greatly simplify complex functions It can provide easy syntax to complex code What is Web API? API stands for A…

2 min
Read lesson →
Lesson 4visual

HTML Canvas Code Challenge

Challenge: Set Up a Canvas Test your understanding of the HTML canvas element by completing this coding challenge.

2 min
Read lesson →
Lesson 5visual

HTML Video

The HTML <video> element is used to show a video on a web page. Video Example Courtesy of Big Buck Bunny Your browser does not support HTML5 video. The HTML <video> Element To show a video in HTML, u…

2 min
Read lesson →
Lesson 6

HTML Geolocation API

HTML Geolocation API

4 min
Read lesson →
Lesson 7visual

HTML SVG Graphics

SVG (Scalable Vector Graphics) SVG defines vector-based graphics in XML, which can be directly embedded in HTML pages. SVG graphics are scalable, and do not lose any quality if they are zoomed or res…

3 min
Read lesson →
Lesson 8

HTML Video Code Challenge

Challenge: Embed a Video Test your understanding of the HTML video element by completing this coding challenge.

2 min
Read lesson →
Lesson 9

HTML Drag and Drop API

The HTML Drag and Drop API enables an element to be dragged and dropped. Example Drag the W3Schools image into the second rectangle. Drag and Drop Drag and drop is a very common feature. It is when y…

3 min
Read lesson →
Lesson 10visual

HTML SVG Code Challenge

Challenge: Draw SVG Shapes Test your understanding of HTML SVG graphics by completing this coding challenge.

2 min
Read lesson →
Lesson 11visual

HTML Audio

The HTML <audio> element is used to play an audio file on a web page. The HTML <audio> Element To play an audio file in HTML, use the <audio> element: Example <audio controls> <source src="horse.ogg"…

2 min
Read lesson →
Lesson 12

HTML Web Storage API

HTML Web Storage API; better than cookies. What is HTML Web Storage? With web storage, applications can store data locally within the user's browser. Before HTML5, application data had to be stored i…

3 min
Read lesson →
Lesson 13

HTML Audio Code Challenge

Challenge: Embed an Audio Player Test your understanding of the HTML audio element by completing this coding challenge.

2 min
Read lesson →
Lesson 14

HTML Web Workers API

A web worker is an external JavaScript file that runs in the background, without affecting the performance of the page. What is a Web Worker? When executing scripts in an HTML page, the page becomes…

4 min
Read lesson →
Lesson 15

HTML Plug-ins

Plug-ins are computer programs that extend the standard functionality of the browser. Plug-ins Plug-ins were designed to be used for many different purposes: To run Java applets To run Microsoft Acti…

2 min
Read lesson →
Lesson 16

HTML Server-Sent Events API

The Server-Sent Events (SSE) API enables pushing messages/updates from a server to the web page via HTTP connection. Server-Sent Events - One Way Messaging A server-sent event is when a web page auto…

2 min
Read lesson →
Lesson 17

HTML YouTube Videos

The easiest way to play videos in HTML, is to use YouTube. Struggling with Video Formats? Converting videos to different formats can be difficult and time-consuming. An easier solution is to let YouT…

2 min
Read lesson →