![]() Programmers' Home Site |
HTMLTutorial for the beginners. |
HTML is really simple to learn. Your pages will look so much better if you create them directly in HTML. This tutorial will introduce the basics and give enough examples to let you start developing your own web site. |
Your first page. |
Let's start with the "Hello World!" HTML page. For that purpose, all you need is the page title that will appear in the title bar of the browser when you load this page.
In HTML you create blocks. Each block starts with a tag that looks something like this: <tag parameters> and, in most cases, ends with a counter tag of the form </tag> In the example above all the tags were parameter-less. Notice also how the blocks can be nested one within another. The outer block of every HTML page is delimited by a pair of html tag-counter tag. Inside it we have a header block. The header contains the title block with the plain text "Hello World!" inside. |
Text pages. |
It's fun creating empty pages, but it's even more fun filling them with some text. Everything that the browser shows as your page is the contents of the body block. As you might have guessed, the body block starts with the tag:
<body> and ends with the counter tag </body> We will continue this tutorial on the next page, that has the following form
|