Basic HTML tags

The HTML language is made up of what is called tags. There is usually an opening tag and a closing tag. Tags start with a < and end with a > tag. In addition, tags usually have a start and end tag.

These tags will NOT be see by viewers of the web page.

Start tag <tag name>

End tag </tag name>

Notice the end tag is the same as the start tag except for one thing. The end tag has a / in front of the tag name.

Basic HTML page tags

<html> <html> - root tag

<head> <head> - describes document

<title> <title> - web page title

<body> <body> - wraps all content on a web page

Media HTML tags

<img src="imagename">

Hypertext Link

<a href="filename">link description</a>

Example of a basic web page

Click here to see example

When creating a basic HTML web page tags have to be put in a certain order.

<html> FIRST TAG. This page contains the entire code for the web page.

<head> SECOND TAG. This tag has the TITLE tag inside

<title> THIRD TAG. This tag is placed inside HEAD tag

<body> FOURTH TAG. This tag wraps around all other text and tags in a basic HTML web page. Below is a basic Hello web page along with green text highlighting the order of the tag in the HTML web page.


Complete and Continue