hercioneto

exemploJs.html

Jun 19th, 2023
203
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
HTML 0.48 KB | None | 0 0
  1. <!DOCTYPE html>
  2. <html>
  3.   <head>
  4.     <script type="text/javascript" src="meuArquivo.js"></script>
  5.   </head>
  6.   <body onload=exibirMensagem();>
  7. Teste
  8. <button onclick="clicou()">clique aqui</button>
  9. <p>
  10. <button onclick="pergunta()">Clica de novo</button><br>
  11. Agora vamos escrever na tela:
  12. <button onclick="escrever()">Clica para escrever....</button><br>
  13. <p>Escrever aqui:
  14. <button onclick="escrever2()">Clica para escrever....</button><br>
  15. <div id="texto">Vai mudar</texto>
  16. </html>
Add Comment
Please, Sign In to add comment