Go Back
Language Code
AppleScript

Download Code

                
display dialog "Hello, world!" -- a modal window with “OK” and “Cancel” buttons
-- or
display alert "Hello, world!"  -- a modal window with a single “OK” button and an icon representing the app displaying the alert
-- or
say "Hello, world!" -- an audio message using a synthesized computer voice
                
              
Source
HTML

Download Code

                
<!DOCTYPE html>
<html>
  <body>
    Hello, World!
  </body>
</html>
                
              
JavaScript

Download Code

document.write('Hello, World!'); or alert("Hello, World!");
PHP

Download Code

                
<?php
  echo "Hello, World!";
>
                
              
Scratch When Green Flag Clcked: Say 'Hello, World!' for 2 seconds
Windows Batch Scripting

Download Code

                
@echo off
echo Hello, World!
pause