• home
  • forum
  • my
  • kt
  • download
  • HTML Basics - Tags for Beginners

    Author: 2009-03-03 09:00:59 From:

    While I was writing our Money Blogs articles over the past few weeks, I mentioned that people who are interested in making money with content should be comfortable with using HMTL. Then I noticed that we don’t have any articles that cover HTML Basics! So, that’s what this post is all about: Basic HTML tags that every beginner should know.

    Before we dive into the details, let’s take a brief look at just what HTML is meant to do. HTML (hypertext markup language) is simply a means of marking up a text file so that it can be rendered into a web page by a web browser. You could create a web page (any web page) in a plain ‘ole text editor (like Notepad or Wordpad) if you wanted to. In fact, I’d say doing just that would be an excellent exercise. But, my point is that there’s nothing special about web pages. Ideally, if you were to strip out all of the special HTML tags that markup a web page, you should be left with a perfectly readable text document (this is the content I keep talking about!).

    How HTML Tags Work

    You may be wondering just what these “tags” are exactly. A tag is simply a way of telling a web browser what’s what within a web page. For example, when I want text to be rendered as a page’s main heading, I surround that text with the <h1> tag. For example:

    <h1>This is the main heading</h1>

    So, tags are simply a set of special characters that mark or tag sections of a web page to be rendered a specific way. Note the use of angle brackets (the, < >) in the tag. Every HTML tag will be surrounded by these. Also note how there is a “opening” and “closing” tag (the closing tag has a forward slash / ). If you happen to forget to close a tag properly, your web page will probably look funny when you view it in a web browser!

    Just about every HTML tag is going to have a opening and closing set. There are a few exceptions, such as image and break tags (<img /> and <br />) that do not have a closing tag. Instead, there is just an opening tag with the terminating forward slash just before the last angle bracket (aren’t exceptions fun?).

    One last bit of info before we move on to the actual tags. All of the HTML tags should be written in lower case. Years ago when the web was young, it was acceptable (and sometimes taught) to capitalize the tags. Times have changed and the new, standard way of forming tags is to use only lower case letters. Don’t confuse this with the actual text content of the page, which can be anything!