Computer Science, asked by ayushbhardwaz73, 10 months ago

the JavaScript statement used to write text on web page​

Answers

Answered by mitaliraj2018
2

Answer:

The Java script statement used to write text on the webpage is

Document. Write

Answered by AskewTronics
0

"document.write()" is the correct answer for the above question.

Explanation:

  • The "document.write()" is a function of the javascript which is used to write the text on the web. It can be used like--"document.write(variable_name)" Or "document.write("any string")".
  • This can help the user to write the text on the web page. But if a user wants to write the content to replace the HTML text, then he can do it with the help of "document.getElementById" or "document.getElementByclass".
  • The above question asked about the statement which helps the user to write the text on the webpage. This function is "document.write()".

Learn More:

  • Java script code : https://brainly.in/question/12626135
Similar questions