HTML Element
JS Reference
A practical, beginner-friendly reference for JavaScript properties and methods on HTML elements. No inheritance noise — just what you can actually use.
Element
Common Element APIs
textContent, classList, style, append(), remove(), events and more.
<img>
HTMLImageElement
src, alt, width, height, loading, naturalWidth and more.
<input>
HTMLInputElement
value, type, checked, placeholder, disabled, focus() and more.
<canvas>
HTMLCanvasElement
getContext(), width, height, toDataURL() and more.
<video>
HTMLVideoElement
play(), pause(), src, currentTime, volume, duration and more.
<audio>
HTMLAudioElement
play(), pause(), src, currentTime, volume, muted and more.
<table>
HTMLTableElement
insertRow(), deleteRow(), rows, caption and more.
<form>
HTMLFormElement
submit(), reset(), elements, action, method and more.