Last Revised: May 6, 2026, 2:00 pm
<html> <head> <meta> <title> <style> <link> <script> <body> <span> <br> <p> <h1> <h2> <h3> <img> <a> <ul> <ol> <li> <table> <tr> <th> <td> <button> <input> <textarea> <label> <textarea> <select> <option> <form>
color background-color font-family font-size font-weight font-style width height display visibility border-collapse margin padding
border font margin padding
aqua black blue gray green lime magenta maroon navy olive purple red silver teal white yellow
text (default) button color date file hidden number checkbox password radio range submit
class else false for function if let new null return this true typeof var while
boolean number object string undefined Special number values: Infinity NaN
Arithmetic: + - * / % Comparison: == === < <= > >= != !== Logical: && || ! Assignment: = += -= *= /= %= Elvis: ? : Miscellaneous: . [ ] ( ) typeof new
0 0.0 "" "0" "0.0" falseConstants equal to true when compared with ==:
1 1.0 "1" "1.0" true
concat pop push shift slice splice toString unshift
charAt concat indexOf lastIndexOf repeat split startsWith slice toLowerCase toUpperCase trim valueOf
abs ceil floor random round
JSON.stringify JSON.parse
getElementById getElementsByClass getElementsByName getElementsByTagName querySelector querySelectorAll createElement appendChild
id innerHTML name nodeName style src type value
blur change click dblclick DOMContentLoaded focus load mousedown mouseenter mouseleave mousemove mouseup Event Object (e)
Examples:
htmlElement.addEventListener("click", f);
htmlElement.onclick = f;
GET HEAD POST PUT DELETE