Skip to content

Instantly share code, notes, and snippets.

@itskingori
Last active December 31, 2015 22:08
Show Gist options
  • Save itskingori/8051212 to your computer and use it in GitHub Desktop.
Save itskingori/8051212 to your computer and use it in GitHub Desktop.
Showing text in a browser
<!DOCTYPE html>
<html>
<head>
<title>Exercise 01: Show text in a browser</title>
</head>
<body>
<?php
// Create a PHP page, with the standard HTML <head>, <title> and <body> tags.
// This is not strictly necessary but is good practice and should the first
// step for each exercise. Consider creating a template file with these tags
// already in place. Inside the <body> tag, create a PHP section that will
// show the text “Hello World!” in the browser.
echo "Hello World!";
?>
</body>
</html>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment