manwan1

JavaScript Output

Jun 12th, 2019
234
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. JavaScript Display Possibilities
  2. JavaScript can "display" data in different ways:
  3.  
  4. Writing into an HTML element, using innerHTML.
  5. Writing into the HTML output using document.write().
  6. Writing into an alert box, using window.alert().
  7. Writing into the browser console, using console.log().
  8. Using innerHTML
  9. To access an HTML element, JavaScript can use the document.getElementById(id) method.
  10.  
  11. The id attribute defines the HTML element. The innerHTML property defines the HTML content
  12.  
  13. download file :  http://ow.ly/ZhzK30oVT44
Advertisement
Add Comment
Please, Sign In to add comment