-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathexample.php
More file actions
25 lines (22 loc) · 956 Bytes
/
example.php
File metadata and controls
25 lines (22 loc) · 956 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
<!-- Example file with inline PHP code, will only run from back end. -->
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<meta name="author" content="Prof. Frank Emanuel">
<meta name="email" content="emanuef@algonquincollege.com">
<meta name="date" content="2022-05-09">
<link rel="stylesheet" href="css/example.css">
<script src="js/example.js"></script>
<title>HTML 5.0 Compliant Web Document</title>
</head>
<body>
<header>HTML 5.0 Compliant Web Document</header>
<!-- Note that PHP is run on the backend and requires a live web server like Apache. All
PHP that runs will be removed from the webpage returned to the front end (browser) from
the web server. -->
<p class="bodytext"><?php echo "Hello World from PHP!"; ?></p>
<button onclick="helloWorld()">Click to have JS say hello</button>
</body>
</html>