function imageAppend(){ var t1 = '<p> Paragraphe ajouté </p>'; var t2 = $('<p></p>').text('Paragraphe crée avec Jquery'); var t3 = document.createElement('p'); t3.innerHTML = 'Paragraphe crée avec Javascript'; $('#myZoom').append(t1,t2,t3); }
Preview:
downloadDownload PNG
downloadDownload JPEG
downloadDownload SVG
Tip: You can change the style, width & colours of the snippet with the inspect tool before clicking Download!
Click to optimize width for Twitter