HTML: Lesson 1

HTML stands for HyperText Markup Language. In HTML, we use tags so the computer will recognize it as code. Tags are words with < > at the beginning and at the end. For example, the tag <html>.
If you have a Mac, you can use TextEditor to create a webpage.
If you have a Windows, you can use NotePad to create a webpage.
Here is a example of a very basic code:


<h1> HTML: The Basics </h1>
<p> HTML stands for HyperText Markup Language. </p>

The <!DOCTYPE html> element tells the web browser what type of document it is.
The <html> tag tells the web browser that is it a HTML document.
The <title> defines the title of the document.
The <head> tag contains the title, scripts, style and metadata.
The <body> tag defines the document's body. It contains the contents of the document, including text, hyperlinks, images and more.
The <h1> tag defines HTML headers. <h1> is the most important or the largest header. <h6> is the least important header or the smallest.
The <p> tag defines a paragraph in the document. It contains whatever information you want your webpage to display.
The / you see in the tags, for example, </p>, tells the web browser that that code ended.

These are just the plain basics of HTML coding. You will learn a lot more, such as how to insert a image and link a website, in future lessons,