The innerHTML property defines the HTML content: Example. When the HTML file loads, the JavaScript file is also loaded. How to display value of textbox in JavaScript? The document.write() function is used to display dynamic content through JavaScript. There are several methods to make JavaScript output data. Cet attribut n'est pas nécessaire si l'élément