<html> <body> <button onClick="alert(document.documentElement.nodeName);">Root Node</button> </body> </html>