document.queryselector a specific tag code example Example: queryselector document.querySelector(".example");