Lesson Plan

Valid XHTML 1.0 Transitional

Valid CSS!

HTML Basics


HTML is another word for Hyper Text Markup Language. It is not considered a programming language but considered a markup language. You can create HTML files in either plain text files (.txt) or in other software such as Dreamweaver.

The Browser

There are many different types of browsers the most common are internet explorer, mozilla firefox, safari, opera, and google chrome. What the browser does when it enters a webpage is it reads the HTML code and based on how the writer places each content in the HTML tags is how the browser displays the content of the page. Not all browsers display the HTML the way the programmer intended it to be seen, that is why it is important to validate the code and test it in each browser


Tags surround the content that the browser displays an example would be:

Title of Website

This displays “Title of Website” inside of

tags, which the browser reads as the title of the page, and displays this with the default font size of 24 pts. You can change the default size in the css stylesheet, we will go over this in a later chapter. Every HTML tag must have a closing tag, the closing tag is always the same as the opening tag except it displays a forward slash before the tag name. An example can be found in our example above as it is closed with the

closing tag.

Mandatory Tags

Some tags must exist in a page in order for the browser to read it properly. These tags include the tag, the tag and the tag. Tags can be placed inside of other tags for example a website may display this as their code.

welcome to our website!

it is good practice to place tabs or spaces before each level of tags, so that way when you need to go back and change an old website you built, you can easily find where the content of the website is displayed.

Take the quiz »