Answers for "html create an a element"

1

create element in javascript

var para = document.createElement("P");               // Create a <p> element

  para.innerText = "This is a paragraph";               // 
  Insert text
document.body.appendChild(para);                      // Append <p> to <body>
Posted by: Guest on August-25-2021

Code answers related to "html create an a element"

Code answers related to "Javascript"

Browse Popular Code Answers by Language