para acceder a un html, java utiliza document.getElementById(id)método El idatributo define el elmento html. La inner html propiedad define el contenido html