-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathindex_lesson2.php
More file actions
24 lines (21 loc) · 875 Bytes
/
index_lesson2.php
File metadata and controls
24 lines (21 loc) · 875 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
<!DOCTYPE html>
/* "So what?" You might say. "I can do that with JavaScript." And
that's true! But JavaScript's knowledge can be limited.
JavaScript generally runs in the browser, or client. This means it
only really knows what's going on in your browser, plus whatever
information it gets from the website(s) you're connecting to.
PHP, on the other hand, runs on the same computer as the website you're
visiting, which is known as the server. This means that it has access
to all the information and files on that machine, which allows it to
construct custom HTML pages to send to your browser, handle cookies, and
run tasks or perform calculations with data from that website.
*/
<html>
<head>
<link type='text/css' rel='stylesheet' href='style.css'/>
<title>Get Started!</title>
</head>
<body>
<p><?php echo ""; ?></p>
</body>
</html>