Sublime Text
<!DOCTYPE html> <html> <body> <button type="button" onclick="alert('hello 1')">Click here 1</button> <button type="button" onclick="abc()">Click here 2</button> <script> function abc(){ alert("hello 2"); } </script> </body> </html>
<!DOCTYPE html> <html> <body> <button type="button" onclick="alert('hello 1')">Click here 1</button> <button type="button" onclick="abc()">Click here 2</button> <script> function abc(){ alert("hello 2"); } </script> </body> </html>