Learn the basics of HTML code

We have put these lessons together to provide anyone and everyone with a basic understanding of programming on the web. The end goal is a fully functional website built and designed completely by you. These lessons are intended to be lightweight, informative and easy to understand. The goal is to provide the reader with an enviroment that is easy to learn in. You’ll find that each new post covers only a few news bits of information. At the end of the posts, you can download a PDF document containing a “cheat sheet” with all the tags and important information you just learned. We also have some more rich content in the work that you’re going to enjoy.
Software
Expensive software is not needed for basic programming needs and can be done with any basic word processing software. For the industry proffesionals, Dreamweaver is a must. I won’t get into the software differences now but expect to see an article about software in the near future. To turn your text document into a format that a browser can understand, save it as an HTML document. For example… website.html or website.htm are both legitimant file formats.
Lesson 1
In this lesson..
- Learn about the basic tags and what they mean
- See how a broswer reads these tags
- Build a basic webpage with text
Important Tags
- All websites begin with <html> and end with </html>. These two tags tell a browser that it’s reading an HTML document. If you’re website is going to contain HTML5 specific tags, you must replace the first tag with <!DOCTYPE HTML>. For those who are just getting started, it’s highly recommended that you use this tag instead of the traditional tag so it’s compliant with web standards.
- Next in your HTML document, you’ll find the <head> tags. Although we won’t be using this tag in the first lessons, it’s important not to ignore them. It’s in between these tags where your inline and external CSS & Javascript code is contained. And just like the <html> tags, you need to close it also.
- The <body> tags represent the start and finish of all visible content on your website. Any text, images or video you want to add must be put in between these tags. We’ll spend the majority of the next few lessons in the section.
- When you want to add some tex to your site, use the <p> tag. Note that “p” stands for paragraph. Everytime you make a new <p> tag, your browser moves to the next line. It’s very similar to when you write an essay and go the next line when starting a paragraph. Here’s what text looks like using these tags.
<p>This is a line of text.</p> <p>This is another line of text.</p>
In some cases, closing the <p> tags isn’t necessary but it’s recommended. The example below is completely acceptable when it comes to programming.
Putting it together
In the next lesson
- learn about hyperlinks
- add images
- embed video
- learn about metadata




Chris Self