Learn HTML Learn HTML
Home
HTML Basics

- Every HTML document starts with a begining < html > tag and an end tag. (There are spaces between the < and the HTML because otherwise the document would recgonize them as code.) There is also a < body > and < head > tag.

  *I will try to use images as much as possible so you can see what the code actually looks like.

  The above is what goes in every HTML document. It would show up as a blank, white document, but it is required for docuemnt structure.

  You can use any text editor to write HTML, but for Windows I recommend Notepad ++ and TextWrangler for OS X. They will highlight different groupings of code in different colors, making it easier to read and understand.

  When you save a document make sure to save it as filename.html The .html filename is very important!

  HTML is case and extension sensitive which means that Picture.png is different from picture.png. Picture.jpg and Picture.png are also different! Make sure you take note of your ENTIRE filename!