I got an Javascript code like this:
divElement.appendChild(document.createTextNode("Optie " + inputNumber + ": "));
Now I would like to put "Optie " and ": " in h7 tags.
How can i do this?
there is no "h7". Max is H6
Sorry, the right code:
newHeadline = document.createElement( 'h6' );
text = document.createTextNode("Optie " + "ddd"+ ": ")
divElement.appendChild( newHeadline.appendChild( text ) );
h7tags? You must be new to HTML. @daveoncode, tags range from1-6