⚙️
PHP Tools Hub
Tools
PHP
Quick
Contact
Home
>
Tutorials
>
HTML5
HTML5 Tutorials
Browse by category, subcategory, and child category.
HTML5 Semantic Elements
View All
<header>
Definition
Usage
Multiple Headers
SEO Impact
<nav>
Definition
Usage
Accessibility
<main>
Definition
Rule
Accessibility
<article>
Definition
Usage
Nesting
<section>
Definition
Rule
Section vs Article
<aside>
Definition
Usage
<footer>
Definition
Usage
Multiple Footers
<figure>
Definition
Usage
<figcaption>
Definition
Placement
Styling
<details>
Definition
open Attribute
name Attribute
CSS Styling
<summary>
Definition
Content
Default Style
<mark>
Definition
Usage
Default Style
<time>
Definition
datetime Attribute
pubdate Attribute
<progress>
Definition
Attributes
Indeterminate State
<meter>
Definition
Attributes
Use Cases
<dialog>
Definition
open Attribute
showModal Method
show Method
close Method
returnValue
Form Method Dialog
Browser Support
<bdi>
Definition
Usage
<wbr>
Definition
Usage
<data>
Definition
value Attribute
<ruby>
Definition
Usage
<rt>
Definition
Placement
<rp>
Definition
Purpose
HTML5 Form 2.0
View All
New Input Types
email
tel
url
search
number
range
date
month
week
time
datetime-local
color
file with multiple
image
New Input Attributes
placeholder
required
autofocus
pattern
min
step
formaction
formenctype
formmethod
formnovalidate
formtarget
list
autocomplete
multiple
dirname
inputmode
New Form Elements
<datalist>
<output>
<keygen>
Form Validation
Constraint Validation API
setCustomValidity
reportValidity
validity Object
Validation Pseudo Classes
Novalidate Attribute
HTML5 Graphics
View All
Canvas Basic
Canvas Element
Canvas Size
Fallback Content
Canvas 2D Context
getContext
Rendering Context
Canvas Shapes
Rects
Paths
Lines
Arcs
Curves
Canvas Colors
fillStyle
strokeStyle
globalAlpha
Canvas Gradients
Linear Gradient
Radial Gradient
Conic Gradient
Canvas Patterns
createPattern
Canvas Text
fillText
strokeText
font
textAlign
textBaseline
measureText
Canvas Images
drawImage
Image Cropping
Image Scaling
Canvas Transformations
translate
rotate
scale
transform
setTransform
resetTransform
Canvas State
save
restore
Canvas Compositing
globalCompositeOperation
Canvas Shadows
shadowColor
shadowBlur
shadowOffsetX
shadowOffsetY
Canvas Clipping
clip
Canvas Filters
filter
Canvas Pixel Manipulation
getImageData
putImageData
createImageData
Canvas Animation
requestAnimationFrame
Clear Canvas
Frames per Second
Delta Time
Canvas Events
Click Detection
isPointInStroke
Canvas Export
toDataURL
toBlob
SVG Basic
SVG Element
viewBox
width height
xmlns
SVG Shapes
Rectangle
Circle
Ellipse
Line
Polyline
Polygon
SVG Path
Path Element
Move To
Line To
Horizontal Line
Vertical Line
Close Path
Arc
Quadratic Bezier
Cubic Bezier
SVG Text
Text Element
Text Styling
Text Path
Multi Line
SVG Styling
Fill Color
Stroke Color
Stroke Width
Opacity
SVG Transform
Translate
Rotate
Scale
Matrix
SVG Group
Group Element
SVG Use
Reuse Element
SVG Defs
Definitions
SVG Gradients
Linear Gradient
Radial Gradient
SVG Patterns
Pattern Element
SVG Animation
Animate Element
Animate Transform
Animate Motion
SVG Filters
Filter Element
Blur Filter
Drop Shadow
Color Matrix
Blend
Merge
SVG Clipping
Clip Path
SVG Masking
Mask Element
SVG Accessibility
Title Element
Description Element
ARIA Role
SVG Optimization
SVG Minification
SVG Sprites
Inline SVG
WebGL Basic
WebGL Context
WebGL vs Canvas
WebGL Versions
WebGL Shaders
Vertex Shader
Fragment Shader
GLSL Language
WebGL Buffers
Vertex Buffer
Index Buffer
WebGL Textures
Texture Mapping
WebGL 3D
3D Objects
Lighting
Camera
WebGL Libraries
Three.js
Babylon.js
PlayCanvas
WebGL Performance
Optimization
HTML5 Media
View All
Video Element
<video> Tag
src Attribute
Video Attributes
controls
autoplay
loop
muted
poster
preload
width height
crossorigin
playsinline
Video Source
<source> Element
type Attribute
MP4 Format
WebM Format
OGG Format
Video Methods
play
pause
load
canPlayType
Video Properties
currentTime
duration
volume
paused
ended
buffered
Video Events
loadedmetadata
canplay
play
waiting
error
timeupdate
seeking
seeked
Video Tracks
<track> Element
kind="subtitles"
kind="captions"
kind="descriptions"
kind="chapters"
kind="metadata"
WebVTT Format
src Attribute
srclang
label
default
Video Captions
Video Custom Controls
Play Pause Button
Volume Slider
Progress Bar
Fullscreen Button
Playback Speed
Video Responsive
Responsive Video
Aspect Ratio
Padding Trick
Video Streaming
HLS Streaming
DASH Streaming
Adaptive Bitrate
Video DRM
Encrypted Media Extensions
Widevine
PlayReady
FairPlay
Audio Element
<audio> Tag
src Attribute
Audio Attributes
controls
autoplay
loop
muted
preload
Audio Source
MP3 Format
OGG Format
WAV Format
AAC Format
Audio Methods
play
Audio Properties
currentTime
duration
volume
Audio Events
canplay
ended
Audio Visualization
Web Audio API
Analyser Node
Canvas Drawing
Audio Recording
MediaRecorder API
getUserMedia
Save Recording
HTML5 Offline
View All
Application Cache
AppCache
manifest Attribute
CACHE MANIFEST
NETWORK
FALLBACK
Deprecation
Service Workers
Service Worker Registration
Service Worker Scope
Install Event
Activate Event
Fetch Event
Cache Strategies
Cache Storage
Offline Page
Update Service Worker
skipWaiting
clients.claim
Service Worker Events
Service Worker Lifecycle
Service Worker Debugging
IndexedDB
IndexedDB Introduction
Database Creation
Object Store
Transaction
CRUD Operations
Cursor
Indexes
Key Range
Version Upgrade
Error Handling
Async API
IDBRequest
IDBDatabase
IDBTransaction
IDBObjectStore
IDBIndex
IDBCursor
Use Cases
Local Storage
localStorage
setItem
getItem
removeItem
clear
key
length
Storage Event
JSON Storage
Storage Limit
Use Cases
Session Storage
sessionStorage
setItem
getItem
removeItem
clear
Session Limit
Use Cases
Web SQL Database
Web SQL
openDatabase
transaction
Deprecation
HTML5 Device Access
View All
Geolocation API
getCurrentPosition
watchPosition
clearWatch
Position Object
Accuracy
Altitude
Speed
Heading
Error Handling
Options
User Permission
Reverse Geocoding
Map Integration
Device Orientation
deviceorientation
Alpha
Beta
Gamma
deviceorientationabsolute
Permission Required
Use Cases
Device Motion
devicemotion
acceleration
accelerationIncludingGravity
rotationRate
interval
Use Cases
Vibration API
navigator.vibrate
Vibration Pattern
Cancel Vibration
Use Cases
Battery Status API
navigator.getBattery
charging
chargingTime
dischargingTime
level
chargingchange Event
levelchange Event
Use Cases
Network Information API
navigator.connection
effectiveType
downlink
rtt
saveData
change Event
Use Cases
Ambient Light Sensor
AmbientLightSensor
illuminance
Use Cases
Proximity Sensor
Proximity Sensor
Use Cases
HTML5 Communication
View All
WebSocket API
WebSocket Connection
WebSocket Events
send Method
close Method
readyState
bufferedAmount
binaryType
WebSocket vs HTTP
Use Cases
Server Sent Events
EventSource
new EventSource
onmessage
Event Types
Custom Events
onerror
close
withCredentials
Use Cases
SSE vs WebSocket
WebRTC
RTCPeerConnection
getUserMedia
getDisplayMedia
createOffer
createAnswer
setLocalDescription
setRemoteDescription
addIceCandidate
onicecandidate
ontrack
Data Channel
Video Call
STUN Server
TURN Server
Signaling Server
Use Cases
HTML5 Performance
View All
Web Workers
Dedicated Worker
Shared Worker
Service Worker
new Worker
postMessage
onmessage
terminate
Worker Limitations
Use Cases
Performance API
performance.now
performance.mark
performance.measure
performance.getEntries
performance.clearMarks
performance.clearMeasures
performance.clearResourceTimings
Resource Timing
PerformanceResourceTiming
initiatorType
startTime
responseEnd
transferSize
Navigation Timing
PerformanceNavigationTiming
domInteractive
domContentLoadedEventEnd
loadEventEnd
User Timing
measure
mark
Long Tasks API
PerformanceLongTaskTiming
Task Duration
Use Cases
Page Visibility API
document.hidden
document.visibilityState
visibilitychange Event
Use Cases
Resource Hints
Preload
Prefetch
Preconnect
DNS Prefetch
Prerender
as Attribute
crossorigin
type Attribute
media Attribute
Lazy Loading
loading attribute
Image Lazy Loading
Iframe Lazy Loading
Intersection Observer
Fallback
Fetch Priority
fetchpriority attribute
LCP Image Priority
Fetch Priority Use
HTML5 Security
View All
Content Security Policy
CSP Header
default-src
script-src
style-src
img-src
connect-src
font-src
frame-src
report-uri
Nonce
Hash
Strict Dynamic
Sandbox
CORS
Cross Origin Resource Sharing
Access-Control-Allow-Origin
Access-Control-Allow-Methods
Access-Control-Allow-Headers
Access-Control-Allow-Credentials
Preflight Request
Simple Requests
CORS Errors
Cross Origin Isolation
COOP
COEP
CORP
SharedArrayBuffer
Iframe Security
sandbox Attribute
allow Attribute
allow-scripts
allow-same-origin
allow-forms
allow-popups
allow-top-navigation
csp Attribute
referrerpolicy
HTML5 Web Components
View All
Custom Elements
define Method
HTMLElement
Lifecycle Callbacks
Attribute Observation
attributeChangedCallback
adoptedCallback
Customized Built-in Elements
Naming Rules
is Attribute
Shadow DOM
attachShadow
mode
Shadow Host
Shadow Root
Slot Element
Named Slots
Default Slot
Slotted Pseudo Element
Part Attribute
::part() Pseudo Class
HTML Templates
<template> Tag
cloneNode
importNode
Content Property
HTML Slots
slot Element
slotchange Event
assignedNodes
Element Internals
attachInternals
setFormValue
setValidity
Form Associated
ARIA Reflection
Examples
Custom Button
Custom Card
Custom Tooltip
Custom Rating
Custom Tabs
Custom Modal
HTML5 Microdata
View All
Microdata Introduction
Semantic Annotation
Microdata Attributes
itemscope
itemtype
itemprop
itemid
itemref
Schemas
Person Schema
Product Schema
Event Schema
Organization Schema
Recipe Schema
Review Schema
JSON-LD
JSON-LD Format
@context
@type
@id
Benefits
RDFa
RDFa Attributes
vocab
Open Graph
og:title
og:description
og:image
og:url
og:type
Twitter Cards
twitter:card
twitter:site
twitter:creator
HTML5 Drag and Drop
View All
Drag and Drop API
draggable Attribute
Drag Events
Drop Events
setData
getData
dataTransfer
effectAllowed
dropEffect
setDragImage
File Drag and Drop
Use Cases
HTML5 History API
View All
History API
pushState
replaceState
popstate Event
state
back
forward
go
SPA Routing
Use Cases
HTML5 Web Storage
View All
Local Storage
localStorage
sessionStorage
Web Storage API
setItem
getItem
removeItem
clear
key
length
Storage Event
JSON Storage
Storage Limit
HTML5 Conclusion
View All
HTML5 Summary
Complete Coverage
Browser Support
Resources
Next Steps