console.log(element); // logs the expandable <html>…</html> console.dir(element); // logs the element’s properties and values