DOM

Hujjat obyekt modeliJavaScript

Misol

document.querySelector("h1").textContent = "Salom";
Barcha atamalar