const target = document.querySelector('#example-id'); target.innerHTML = "innerHTML のテスト";
※ 引数は、CSS のセレクタを指定。