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 are HTML tags?
HTML tags are pieces of text that have meaning to web browsers. They tell the web browsers about the structure of your page and even affects how it will be displayed. Your text will usually be inserted between HTML tags.
What do HTML tags look like?
Text between < and > is referred to as an HTML markup “tag”. Although not mandatory in HTML5, it is a best practice to always enter tag names and attributes in lowercase so you may as well start off by developing good habits right from the beginning to ensure maximum compatibility with all web browsers and HTML standards.
Most HTML tags have two parts, an open and a close version of with the same except that the latter tag is preceded by a slash and does not include any tag attribute(s). For example:
<html> and </html>
<head> and </head>
<body> and </body>
Important: Tags must always closed in the reverse order that they were opened.
The following is an example that illustrates tags that are in the wrong order. Doing this could cause some web browsers to display information incorrectly:
<tag1>
<tag2>Some content</tag1>
</tag2>
The correct order would be:
<tag1>
<tag2>Some content</tag2>
</tag1>
* These are not real HTML tag. We will get to those soon.
IMPORTANT NOTE: If you are editing the HTML code in a WYSIWYG editor such as in Moodle, WordPress, Drupal or Joomla, you need only to include the content which appears in between the <body> and closing </body> HTML tags. The rest of the HTML before and after these tags will be added by the CMS or LMS application for you.