You can find many books and websites about learning HTML but they are very hard to understand. They use typical programming language which only a small number of people understand (like IT people). I have developed these lessons in such a way that ANYBODY can learn HTML.
Your feedback is very important. Please feel free to send me your suggestions, tips, and any other information to enhance the web site.
HTML files are just simple text files. You can write HTML code in any text editor like 'Text Editor' software in Windows and 'TextEdit' on Mac. When saving the file, save it with extension as '.html'.
HTML stands for Hypertext Markup Language. It uses 'Tags' as commands. For example to bold a text, we use <b>
test to bold</b>
. Note that every tag starts with <tag name>
and ends with </tag name>
. It is very important to follow this as most of the web sites have to follow HTML 4.0 or XHTML 1.1 which is the standard for writing HTML pages. Some tags like <hr>
have no ending tag. Another example is <br>
. You don't have to worry about what <hr>
means. You'll learn them later. At this point I am just giving you basics of HTML.
According to HTML 4.0 and XHTML 1.1 specifications, a web page is divided into three parts.
- Contents - HTML
- Presentation - CSS
- Behaviour - Java Script
HTML is for all the contents of the web site. It will include text, data, images, and tables.
CSS is for presentation of web site. Like, how the web site will look, its colouring, fonts, font sizes, alignments etc?
Java Script is to make the site more interactive with user. Like, validating form prior sending to server.
I have divided lessons into four parts.
- Basics: You'll learn structure of HTML file as very basic and useful tags.
- Images: Here you'll learn how to add, resize, align images.
- Tables: Tables are very useful. How to create table and how to take advantage to them?
- Form: All kinds of forms data input types. Like, text fields, text areas, bullets, check box, buttons.