After you have created the On Web Connection method, you will be presented with a blank page. Please type the following into the On Web Connection method:
SEND HTML TEXT("Hello, World!")

In this window, the SEND HTML TEXT is colored blue; by default, yours will be colored black. You can change your color to be blue by going to the colour menu and choosing "Commands". SEND HTML TEXT is a 4D command that will send a bit (possibly, a very big bit!) of text to a web browser.
After you have typed the text, you should make sure you save the On Web Connection method. You can choose "Save" from the File menu, or just click the Close box - the method will automatically be saved.
Once you have modified the On Web Connection database method, you will want to return to the User environment. To do so, go to the Use menu and choose "User". The menu bar will change. Now you want to start the Web Server by going to the Web Server menu and choosing "Start Web Server".

Once the Web Server has been started, it is time to test it out. Launch your favorite web browser. In the Location or Address area, type "127.0.0.1" - the local TCP/IP loopback address. This tells the browser that it should look for a web page on the same computer on which it is running. After you hit return, 4D should quickly respond with "Hello, World!". Congratulations, you have just built your first dynamic web page in 4D!