Simplest possible examples of HTML, CSS and Javascript:
HTML JavaScript Other
Latest commit 0236d21 Jan 21, 2017 @samdutton Fix to MSE from wnda
Permalink
Failed to load latest commit information.
appcache Changed GitHub link to directory containing demo Dec 16, 2016
array Changed GitHub link to directory containing demo Dec 16, 2016
audio Changed GitHub link to directory containing demo Dec 16, 2016
audiodata Changed GitHub link to directory containing demo Dec 16, 2016
battery Changed GitHub link to directory containing demo Dec 16, 2016
bigimage Changed GitHub link to directory containing demo Dec 16, 2016
build Changed GitHub link to directory containing demo Dec 16, 2016
canplaytype Changed GitHub link to directory containing demo Dec 16, 2016
canvas Update link for canvas cheat sheet Jan 13, 2017
ck Adding ck shortcut Jan 4, 2017
cors Added explanation to CORS demo Jan 20, 2017
css label css Dec 10, 2016
cssbackgroundanimation Changed GitHub link to directory containing demo Dec 16, 2016
cssfilters Changed GitHub link to directory containing demo Dec 16, 2016
cssnegativeselector Changed GitHub link to directory containing demo Dec 16, 2016
cssregions Fixed CORS demo and updated HTTP links to HTTPS Jan 20, 2017
csstextindent Changed GitHub link to directory containing demo Dec 16, 2016
csstransition Changed GitHub link to directory containing demo Dec 16, 2016
datalist Changed GitHub link to directory containing demo Dec 16, 2016
details Changed GitHub link to directory containing demo Dec 16, 2016
devicemotion Fixed CORS demo and updated HTTP links to HTTPS Jan 20, 2017
deviceorientation Fixed CORS demo and updated HTTP links to HTTPS Jan 20, 2017
eme Fixed CORS demo and updated HTTP links to HTTPS Jan 20, 2017
eventsource Fixed CORS demo and updated HTTP links to HTTPS Jan 20, 2017
favicon Changed GitHub link to directory containing demo Dec 16, 2016
fetch Changed GitHub link to directory containing demo Dec 16, 2016
filesystem Fixed CORS demo and updated HTTP links to HTTPS Jan 20, 2017
flexboxcenter Changed GitHub link to directory containing demo Dec 16, 2016
flexboxexpand Changed GitHub link to directory containing demo Dec 16, 2016
flexvideo Changed GitHub link to directory containing demo Dec 16, 2016
fs added fs Apr 21, 2016
fullscreen Changed GitHub link to directory containing demo Dec 16, 2016
geolocation Changed GitHub link to directory containing demo Dec 16, 2016
getusermedia Fixed CORS demo and updated HTTP links to HTTPS Jan 20, 2017
h264 Changed GitHub link to directory containing demo Dec 16, 2016
headtrackr Fixed CORS demo and updated HTTP links to HTTPS Jan 20, 2017
history Changed GitHub link to directory containing demo Dec 16, 2016
ic Added imagecapture shortcut Jul 12, 2016
idbwrapper Changed GitHub link to directory containing demo Dec 16, 2016
iframe Changed GitHub link to directory containing demo Dec 16, 2016
imagecapture Cleaned up EME examples Jan 4, 2017
images Updated icons Jun 30, 2016
indexeddb Changed GitHub link to directory containing demo Dec 16, 2016
inputtypes Changed GitHub link to directory containing demo Dec 16, 2016
install Changed GitHub link to directory containing demo Dec 16, 2016
js/lib EME updates, etc. Mar 5, 2015
localstorage Changed GitHub link to directory containing demo Dec 16, 2016
longvideo Changed GitHub link to directory containing demo Dec 16, 2016
lotsofimages Updated icons Jun 30, 2016
mediacapture Changed GitHub link to directory containing demo Dec 16, 2016
mediafragments Changed GitHub link to directory containing demo Dec 16, 2016
mediaqueries doh Jan 16, 2017
mediarecorder Changed GitHub link to directory containing demo Dec 16, 2016
mq Added mediaqueries Jan 16, 2017
mr Added /mr as attempt at URL shortcut :( Dec 2, 2015
mse Fix to MSE from wnda Jan 21, 2017
multigum Fixed CORS demo and updated HTTP links to HTTPS Jan 20, 2017
mutationobserver Changed GitHub link to directory containing demo Dec 16, 2016
navigationtiming Changed GitHub link to directory containing demo Dec 16, 2016
notification Changed GitHub link to directory containing demo Dec 16, 2016
observe Changed GitHub link to directory containing demo Dec 16, 2016
online Changed GitHub link to directory containing demo Dec 16, 2016
oz Tweaks to eme, web audio Apr 11, 2014
pagevisibility Changed GitHub link to directory containing demo Dec 16, 2016
pagination Fixed CORS demo and updated HTTP links to HTTPS Jan 20, 2017
pictureart Changed GitHub link to directory containing demo Dec 16, 2016
picturetype Changed GitHub link to directory containing demo Dec 16, 2016
pixelsizes Changed GitHub link to directory containing demo Dec 16, 2016
postmessage Changed GitHub link to directory containing demo Dec 16, 2016
promises Fixed CORS demo and updated HTTP links to HTTPS Jan 20, 2017
queryselector Changed GitHub link to directory containing demo Dec 16, 2016
resizedimages Changed GitHub link to directory containing demo Dec 16, 2016
resourcetiming Changed GitHub link to directory containing demo Dec 16, 2016
rtcdatachannel Fixed CORS demo and updated HTTP links to HTTPS Jan 20, 2017
rtcpeerconnection Fixed CORS demo and updated HTTP links to HTTPS Jan 20, 2017
s Updated Image Capture demos Dec 6, 2016
sc Added screen capture demo Dec 17, 2016
scroll Changed GitHub link to directory containing demo Dec 16, 2016
serviceworker Changed GitHub link to directory containing demo Dec 16, 2016
sessionstorage Changed GitHub link to directory containing demo Dec 16, 2016
shaka Updated video range demo, added Shaka credit links May 16, 2016
shortcuts Changed GitHub link to directory containing demo Dec 16, 2016
sizeswvalues Changed GitHub link to directory containing demo Dec 16, 2016
softhyphen Changed GitHub link to directory containing demo Dec 16, 2016
srcsetwvalues Updated srcset demo Jan 16, 2017
srcsetxvalues Changed GitHub link to directory containing demo Dec 16, 2016
stnetnibew Changed GitHub link to directory containing demo Dec 16, 2016
stt Changed GitHub link to directory containing demo Dec 16, 2016
svg Changed GitHub link to directory containing demo Dec 16, 2016
sw Added sw shortcut and chrome video animated GIF Aug 8, 2016
t Added t Nov 1, 2016
test Updated icons Jun 30, 2016
track Fixed CORS demo and updated HTTP links to HTTPS Jan 20, 2017
tts Changed GitHub link to directory containing demo Dec 16, 2016
uc Updated icons Jun 30, 2016
useragent Changed GitHub link to directory containing demo Dec 16, 2016
v Added v redirect May 11, 2016
vibrate Changed GitHub link to directory containing demo Dec 16, 2016
video Fixed CORS demo and updated HTTP links to HTTPS Jan 20, 2017
videoalpha Changed GitHub link to directory containing demo Dec 16, 2016
videoauto Changed GitHub link to directory containing demo Dec 16, 2016
videomedia Changed GitHub link to directory containing demo Dec 16, 2016
videonoautoplay Changed GitHub link to directory containing demo Dec 16, 2016
videooverlay Changed GitHub link to directory containing demo Dec 16, 2016
videopreloadnone Changed GitHub link to directory containing demo Dec 16, 2016
wa Updated Camera API sample to display image Jun 24, 2016
webanimations Add WAAPI partial polyfill Jan 19, 2017
webaudio Fixed CORS demo and updated HTTP links to HTTPS Jan 20, 2017
webfonts Updated /webfonts as per issue Jan 20, 2017
webgl Changed GitHub link to directory containing demo Dec 16, 2016
webp Changed GitHub link to directory containing demo Dec 16, 2016
webrtc Fixed CORS demo and updated HTTP links to HTTPS Jan 20, 2017
webrtcwebaudio Fixed CORS demo and updated HTTP links to HTTPS Jan 20, 2017
websocket Tweaked CSS input Dec 18, 2016
websql Changed GitHub link to directory containing demo Dec 16, 2016
webworkers Changed GitHub link to directory containing demo Dec 16, 2016
ws Added ws shortcut Dec 18, 2016
xhr Changed GitHub link to directory containing demo Dec 16, 2016
.csslintrc Updated to validate against linters, minor fixes to /s Nov 23, 2015
.eslintrc Updated flexboxcenter Sep 5, 2016
.gitignore Adding gbike.webm May 13, 2016
.htaccess_bak Added /mr as attempt at URL shortcut :( Dec 2, 2015
.travis.yml Massive cleanup after moving to eslint Nov 6, 2015
404.html Updated icons Jun 30, 2016
AUTHORS Added medianews.me link back to index.html Jun 9, 2015
CNAME Updated CNAME Nov 7, 2015
Gruntfile.js Updated to avoid css lint errors in split.css Dec 16, 2016
LICENSE Added medianews.me link back to index.html Jun 9, 2015
README.md Added box to link Apr 7, 2015
favicon.ico favicon Aug 15, 2012
index.html added link to cors Jan 20, 2017
manifest.json Fixed 192icon path in manifest.json Sep 22, 2016
package.json Updated flexboxcenter Sep 5, 2016
params.json Create gh-pages branch via GitHub Aug 6, 2012
sitemap.xml Server-Sent Events (EventSource) Aug 5, 2013

README.md

Build Status

Check out my new blog post: High performance HTML.

simpl

simpl.info is a website for simplest-possible code examples.

I also maintain a list of resources for working with HTML, CSS and JavaScript.

Your contributions and comments are welcome.

There's a grunt script for creating new examples:

# After clone
$ cd build
$ npm install grunt
$ grunt --feature "new-feature"
$ cd ../new-feature # Go ahead and add what is needed.

Analytics