This is not a Government of Canada website
The purpose of this website is to provide a working example of the WET-BOEW-GCWeb theme created by TNG Consulting Inc. together with the Government of Canada for Moodle software . Demo courses are only available in English however multi-language courses are supported.
The basic structure of an HTML file
What makes up an HTML file?
Other than the filename extension, the thing that makes an HTML file special is what’s inside.
The basic structure (or organization) of all HTML pages is:
<!DOCTYPE html>
<html>
<head>
<title>
This appears in the web browsers title bar
</title>
</head>
<body>
This stuff appears in the browser itself.
</body>
</html>
Copy and paste the above text into a text editor such as Notepad and save it as "index.html". When saving a file, take note of where you save it so you don’t have to look for it. A convenient place is on your Desktop.
Double click on the file to view it in your web browser. It should look something similar to this screenshot:
Congratulations! You have just created your first HTML web page. Double click on the file to see it in your web browser.
The only difference between this web page and the ones you access on the Internet is that this one is currently stored on your computer instead of a web server. This means that only you can see this page on this computer.
Next we will be looking at the codes called HTML tags.