Let's Learn HTML

Okay lets Start. html is not hard to get into. It is simple each part is controled by a tag. A tag is what is inside a lesser and greater than symbol. A tag is like a bottle. tag is like a cap. And /tag is like the bottle.

tutorial

It starts with a html tag. These must be at the top and bottom of the code. Click the picture to see what the webpage should look like.

tutorial

This is an example of what you will learn in the first chapter 1. First, open your text editor and start a new file. Name it, something.html. Make sure it says .html it needs the .html extensions to work. Then on the first line write the html tag. The opening on the first line and the closing on the 2nd line. Next, go to the first line and hit Enter. This will make the third line. Write a head tag like the html . Then once again on the top head hit Enter. So we can make a title tag, this is the name of the web page. Under the head closing tag make a body tag.As before after this, we will Enter after the body tag. We will be making a heading tag ( h1 ). Heading tag goes from one to six. One being the biggest, six being the smallest.
And lastly for the page we want to make is a p tag. It will allow us to make paragraphs on the screen.

tutorial

Now we'll learn about the last part of Chapter 1. How to break a page and make space on the page. The br tag! This one is special this one doesn't need a closing tag. you can just write it by itself and it will be done.

tutorial

Summary

  • HTML pages are text documents.
  • HTML uses tags (characters that sit inside angled brackets) to give the information they surround special meaning.
  • Tags are often referred to as elements
  • Tags usually come in pairs. The opening tag denotes the start of a piece of content; the closing tag denotes the end.
  • Opening tags can carry attributes, which tell us more about the content of that element.
  • Attributes require a name and a value
  • To learn HTML you need to know what tags are available for you to use, what they do, and where they can go.

NEXT LESSON