All HTML guides

Find a guide to sharing, fixing or building an HTML page.

Guides 1021-1080 of 2735. Page 18 of 46.

pwa
PWA in HTML: from one file to an installable app
What a PWA is, what one HTML file can and cannot do, and the manifest and service worker you add to make it installable and offline. Live demos and code.
chart js html
Chart.js in a single HTML file
Draw a Chart.js chart in a single HTML file with one script tag and a canvas. Live examples to edit, fixes for common errors, and how to share the chart as a link.
three js html5
Three.js in a single HTML5 file
Run three.js in a single HTML5 file with an import map and a module script. A live spinning cube, an orbit viewer, and fixes for black, stretched or blank scenes.
material ui
Material UI in a single HTML file
Run Material UI in one HTML file with no build step: an import map, React from jsDelivr and real MUI components. Live examples, common mistakes and how to share it.
chakra ui
Chakra UI in a single HTML file
Run Chakra UI 3 in a single HTML file: an import map, React from jsDelivr and a ChakraProvider. Live examples, the blank-page fixes, and how to share it as a link.
google sites embed
Google Sites embed code: a snippet that works
Add your own HTML, CSS and JavaScript to Google Sites with Insert, Embed, Embed code. A snippet that works, a checker for common mistakes, and how to share it.
webassembly
Run WebAssembly in a single HTML file
Put the .wasm bytes inside the page and WebAssembly runs from a single HTML file, with no fetch and no server. Live examples, common errors and sharing.
api
APIs in JavaScript: what they are and how to use one in an HTML page
What an API means in browser JavaScript, the smallest HTML page that uses one, how to read data from a server API with fetch, and fixes for the usual errors.
plotly dash html
Plotly Dash and HTML: from html.Div to a single shareable file
How dash.html maps to real HTML tags, why a Dash app needs a Python server, and how to rebuild a small app as one HTML file with Plotly.js. Live examples.
p5 js samples
p5.js samples in a single HTML file
Run p5.js samples from one HTML file: a script tag, setup() and draw(). Live sketches to edit, short samples to paste, fixes for blank canvases, and a share link.
svg animation
SVG animation in a single HTML file
Animate an SVG inside a single HTML file with CSS, SMIL or GSAP. Live examples to edit, fixes for shapes that spin around the corner, and how to share it as a link.
vue
Vue in a single HTML file
Run Vue 3 from a single HTML file with one script tag and no build step. A live example to edit, the in-DOM template mistakes, and how to share it as a link.
webflow embed
Webflow embed: a Code Embed snippet that works
Add your own HTML, CSS and JavaScript to Webflow with the Code Embed element. A snippet that works, why scripts stay blank on the canvas, and a checker for mistakes.
gsap
GSAP in a single HTML file
Use GSAP in a single HTML file with one script tag. Live examples of a tween, a timeline and ScrollTrigger, plus fixes for "gsap is not defined" and silent tweens.
nbconvert jupyter
nbconvert: turn a Jupyter notebook into a single HTML file
Turn a Jupyter notebook into one HTML file with nbconvert. The command, what goes inside the file, live examples, the key flags and fixes for broken images.
alpine js html
Alpine.js in a single HTML file
Alpine.js adds state and behaviour to plain HTML with attributes like x-data and @click. A working single-file example, the mistakes that break it, and a share link.
preact scores
Preact in one HTML file: a score keeper you can share
Build a Preact score counter and leaderboard in a single HTML file with no build step: import map, htm instead of JSX, the common errors, and sharing it as a link.
highlight js html
Highlight.js in a single HTML file
Colour code blocks in a single HTML file with highlight.js: one stylesheet, one script tag and one call. Live examples, fixes for common mistakes, and a share link.
d3 js html
D3.js in a single HTML file
Draw a D3.js chart in one HTML file with a script tag, an svg and a few lines of code. Live examples to edit, fixes for common errors, and how to share it as a link.
lottie react example
Lottie in React and in a single HTML file
The lottie-react example needs npm and a bundler. The same Lottie animation runs in one HTML file with one script tag. Live examples, common mistakes, share link.
mjml email
MJML email in one HTML file
Write an MJML email and compile it to responsive email HTML inside one HTML file, with no install. Live examples, the section and column rule, and fixes.
anime js html
Anime.js in a single HTML file
Animate elements with Anime.js in a single HTML file: one script tag, then animate(). Live examples to edit, fixes for version 3 code, and how to share it as a link.
babylon js html
Babylon.js in a single HTML file
Babylon.js in one HTML file: a canvas, one script tag and a short script. Live 3D examples, the mistakes behind a blank page, and how to share it as a link.
openlayers react
OpenLayers in a single HTML file, and in React
OpenLayers is a JavaScript map library. See the smallest working map in one HTML file, the React version of the same code, and fixes for blank maps.
webpack npm
Webpack from npm: from install to one HTML page
Install webpack from npm, bundle your JavaScript, and end up with an HTML page that runs. Live examples, the config to copy, and fixes for a blank page.
websocket html
WebSocket in HTML: connect, send and receive with JavaScript
WebSocket in an HTML page: the browser API, a live example you can run, the code to copy, the states, reconnecting, and fixes for common errors.
webrtc not working in chrome
WebRTC in HTML and JavaScript: a minimal example and why it fails
WebRTC is the browser API for peer-to-peer video and data. A single-file HTML example that connects two peers, plus fixes for signaling, call order and STUN/TURN.
pixi js html
PixiJS in a single HTML file, no install and no build step
Use PixiJS in one HTML file: a script tag, await app.init(), shapes, text, taps and a ticker. Live examples, the mistakes that break it, and how to share the page.
stackblitz html
StackBlitz HTML: a working page in one index.html
What StackBlitz is, how to run a single index.html in it, add a library with one script tag, avoid the common mistakes, and share the finished page as a link.
marked js npm
Marked JS: turn Markdown into HTML in a single file, no npm
Marked is a JavaScript Markdown parser. You do not need npm to use it in a web page: one script tag and marked.parse() do it. Live examples, safe output, fixes.
mathjax html
MathJax in an HTML file: LaTeX formulas with one script tag
Add MathJax to a single HTML file with one script tag. A working example, the delimiters it reads, the mistakes that leave raw LaTeX on screen, and how to share it.
recharts react
Recharts in a single HTML file, without a build step
Use Recharts without npm or a build step: four script tags, one React root and a chart in a single HTML file. Live examples, the usual errors and a share link.
how to master js
Matter.js in one HTML file: a physics toy to practice JavaScript
Matter.js is a 2D physics engine for JavaScript. See the smallest working HTML file, live examples you can drag, the usual mistakes, and how to share it as a link.
jsx example in react
A JSX example in React, in one HTML file
A JSX example you can run from one HTML file: React and Babel from a CDN, a live counter, the three JSX rules, a finished list app, and fixes for blank pages.
nuxt examples ui
Nuxt UI examples you can run in a single HTML file
Nuxt needs a build, but the Vue it runs on loads from one script tag. Live UI examples (card, form, tabs, modal), the code to copy, and the mistakes to avoid.
shadcn ui
shadcn/ui in a single HTML file: what carries over
shadcn/ui is React code, not a script tag. See what you can reuse in one HTML file (theme tokens, Tailwind classes, dark mode), what you cannot, and a live demo.
mapbox api
Mapbox in a single HTML file: the script, the token and the map
Put a Mapbox GL JS map in one HTML file: the script and CSS, your public access token, a sized div and [longitude, latitude] order. Live checks and common fixes.
indexeddb chrome
IndexedDB in Chrome: a database inside one HTML file
IndexedDB is the browser database a plain HTML page can use. Smallest working example, how to see it in Chrome DevTools, the common mistakes, and how to share it.
highcharts angular
Highcharts and Angular: start with one HTML file
Highcharts is a JavaScript charting library. Draw a chart in one HTML file with a script tag, then move the same options into Angular. Live examples and fixes.
vite not working with tailwind
Vite not working with Tailwind: fix it, or use one HTML file
Vite is a build tool. When Tailwind styles do nothing in it, three causes explain almost every case. Fix them, or skip the build with one working HTML file.
wordpress custom html css
WordPress custom HTML and CSS: test it in one file, then paste it in
Write and test HTML, CSS and JavaScript in one file, then split it into WordPress's Custom HTML block and Additional CSS. Live examples, code and fixes.
pico css
Pico CSS in a single HTML file
Style a plain HTML page with Pico CSS using one link tag. The smallest working file, classless vs standard, dark mode, a finished form page, and common fixes.
gradio html
Gradio and HTML: what you can put in one file
Gradio is a Python library, so it has no HTML file of its own. What gr.HTML does, how to embed an app in a page, and a working one-file HTML version to copy.
esbuild html
esbuild and HTML: from source files to one working page
esbuild does not read HTML, it bundles JavaScript and CSS. See a working esbuild call inside a plain HTML file, then turn source files into one shareable page.
daisyui not working react
daisyUI not working? Start with one HTML file
daisyUI is a set of Tailwind CSS component classes. See it work in one HTML file with two CDN tags, then use that page to find why it fails in React.
tauri html
Tauri and HTML: one file, a browser, then a desktop app
Tauri turns a folder of HTML, CSS and JavaScript into a desktop app. Build the page as one HTML file, test it in a browser, then wire it to Tauri.
game engine javascript
A JavaScript game engine in one HTML file
A JavaScript game engine is a library you load with one script tag. A working Phaser game in a single HTML file, the mistakes that break it, and how to share it.
codesandbox html
CodeSandbox HTML: put the whole project in one file
Turn a CodeSandbox HTML project into one file that runs anywhere: the smallest working example, the mistakes that break it, and how to share it as a link.
json prism
Highlight JSON in HTML with Prism.js
Colour JSON in a single HTML file with Prism.js. The smallest working page, the extra JSON file people forget, formatting with JavaScript, and common fixes.
firebase hosting html
Firebase Hosting for a single HTML file
Put one HTML file on Firebase Hosting: the smallest working page, the four commands, what firebase.json does, the common mistakes, and a no-setup link option.
jsfiddle react
JSFiddle React: the same app as one HTML file
How React runs in JSFiddle and how to get the same app into one HTML file: three script tags and a div. Live examples, the common errors, and a share link.
example postcss config js
Example postcss.config.js, and how to run PostCSS in one HTML file
A working postcss.config.js example, what each line does, and how to run PostCSS inside one HTML file with a CDN import. Live demos, plugin order, common errors.
swiper html
Swiper in a single HTML file: slider markup, CDN links and init code
Add Swiper, the JavaScript touch slider, to one HTML file from a CDN. A minimal working page, live options, mistakes that leave it blank, and how to share it.
html service mark
The service mark symbol (℠) in HTML
Write the service mark symbol ℠ in HTML with a numeric character reference. No named entity exists. Live examples, a snippet builder and fixes for it not showing.
framer motion react
Framer Motion in a single HTML file
Framer Motion is now called Motion. Run it from a single HTML file with script tags, with live examples for animate() and the React motion component, plus fixes.
phaser js
Phaser JS in a single HTML file
Run Phaser JS from a single HTML file with one CDN script tag. A live example, a finished game to copy, the mistakes that give a blank page, and how to share it.
astro html
Astro HTML: from an Astro page to one HTML file you can open
Astro is a web framework that builds pages into plain HTML. See what the build writes, a single-file example that runs, the common mistakes, and how to share it.
echarts formatter html
Use the ECharts formatter in a single HTML file
Use the ECharts formatter in one HTML file: string templates, functions, tooltip HTML and escaping, axis labels. Live examples to edit, fixes, and a share link.
battery html report
Make a battery report page in HTML with JavaScript
Show the battery level and charging state in a web page with navigator.getBattery(). A live example, the code to copy, and why the call fails or returns nothing.
electron html
Electron and HTML: put a web page in a desktop window
Electron shows your HTML file in a desktop window. The three files you need, a page that runs in a browser, the mistakes that blank the window, and how to share it.