HTML Drag and Drop API

In HTML, any element can be dragged and dropped. Example Drag and Drop Drag and drop is a very common feature. It is when you “grab” an object and drag it to a different location. Browser Support The numbers in the table specify the first browser version that fully supports Drag and Drop. API Drag […]

HTML Web Storage API

HTML web storage; better than cookies. What is HTML Web Storage? With web storage, web applications can store data locally within the user’s browser. Before HTML5, application data had to be stored in cookies, included in every server request. Web storage is more secure, and large amounts of data can be stored locally, without affecting […]

HTML Web Workers API

A web worker is a JavaScript running 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 unresponsive until the script is finished. A web worker is a JavaScript that runs in the background, independently of other scripts, without affecting […]

HTML SSE API

Server-Sent Events (SSE) allow a web page to get updates from a server. Server-Sent Events – One Way Messaging A server-sent event is when a web page automatically gets updates from a server. This was also possible before, but the web page would have to ask if any updates were available. With server-sent events, the […]

HTML Input Types

This chapter describes the different types for the HTML <input> element. HTML Input Types Here are the different input types you can use in HTML: <input type=”button”> <input type=”checkbox”> <input type=”color”> <input type=”date”> <input type=”datetime-local”> <input type=”email”> <input type=”file”> <input type=”hidden”> <input type=”image”> <input type=”month”> <input type=”number”> <input type=”password”> <input type=”radio”> <input type=”range”> <input type=”reset”> <input type=”search”> […]

HTML SVG Graphics

SVG defines vector-based graphics in XML format. What is SVG? SVG stands for Scalable Vector Graphics SVG is used to define graphics for the Web SVG is a W3C recommendation The HTML <svg> Element The HTML <svg> element is a container for SVG graphics. SVG has several methods for drawing paths, boxes, circles, text, and graphic images. […]

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 YouTube play the videos in your web page. YouTube Video Id YouTube will display an id (like tgbNymZ7vqY), when you save (or play) […]

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 ActiveX controls To display Flash movies To display maps To scan for viruses To verify a bank id Warning ! Most browsers no longer support […]