placeholder-update.html (331B)
1 <!DOCTYPE html> 2 <html> 3 <link rel="match" href="placeholder-update-ref.html"> 4 <body> 5 <div id="app"></div> 6 <script> 7 const rootElement = document.getElementById("app"); 8 const input = document.createElement("input"); 9 input.placeholder = "placeholder"; 10 input.value = "content"; 11 rootElement.appendChild(input); 12 </script> 13 </body> 14 </html>