U
Universal Citizen
Guest
I am trying to learn HTML.
As per an online tutorial,
- I typed in the following in an html file (using TextEdit in my case),
- opened Safari on my mac,
- double clicked on my html file in FINDER.
[It only opened a page on the web but with the codes still as below)
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01//EN" "http://www.w3.org/TR/html4/strict.dtd">
<html>
<head>
<title>HTML Tutorial Example</title>
</head>
<body>
<p>Less than 5 minutes into this HTML tutorial and
I've already created my first homepage!</p>
</body>
</html>
SHOULD I LOAD FIREFOX or something else to get it to work?
NB. I saved as an 'html' file. So what went wrong?
As per an online tutorial,
- I typed in the following in an html file (using TextEdit in my case),
- opened Safari on my mac,
- double clicked on my html file in FINDER.
[It only opened a page on the web but with the codes still as below)
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01//EN" "http://www.w3.org/TR/html4/strict.dtd">
<html>
<head>
<title>HTML Tutorial Example</title>
</head>
<body>
<p>Less than 5 minutes into this HTML tutorial and
I've already created my first homepage!</p>
</body>
</html>
SHOULD I LOAD FIREFOX or something else to get it to work?
NB. I saved as an 'html' file. So what went wrong?