I am using the following code to write the table. Now I wish to add subscript text after the table text. How can it be achieved?
My code has:
oCell = document.createElement("TD");
oCell.innerHTML = data;
oRow.appendChild(oCell);
How do I add a subscript text followed by the data?