Objeto de superíndice HTML DOM
Objeto de superíndice
El objeto Superíndice representa un elemento HTML <sup>.
Acceder a un objeto de superíndice
Puede acceder a un elemento <sup> usando getElementById():
Ejemplo
var x = document.getElementById("mySup");
Crear un objeto de superíndice
Puede crear un elemento <sup> utilizando el método document.createElement():
Ejemplo
var x = document.createElement("SUP");
Propiedades y eventos estándar
El objeto Superscript admite las propiedades y los eventos estándar .
páginas relacionadas
Tutorial de HTML: elementos de formato de texto HTML
Referencia HTML: etiqueta HTML <sup>
Referencia de JavaScript: objeto de subíndice HTML DOM