HTML Forms are used to select different kinds of user input.

Forms

A form is an area that can contain form elements.

Form elements are elements that allow the user to enter information (like text fields, textarea fields, drop-down menus, radio buttons, checkboxes, etc.) in a form.

A form is defined with the [<]form[>] tag.

With HTML you can create tables.

Tables

Tables are defined with the [<]table[>] tag. A table is divided into rows (with the [<]tr[>] tag), and each row is divided into data cells (with the [<]td[>] tag). The letters td stands for "table data," which is the content of a data cell. A data cell can contain text, images, lists, paragraphs, forms, horizontal rules, tables, etc.

Colors are displayed combining  RED, GREEN, and BLUE light
sources.


Color Values

HTML colors are defined using a hexadecimal notation for the combination of Red, Green, and Blue
color values (RGB). The lowest value that can be given to one of the light sources is 0 (hex
#00). The highest value is 255 (hex #FF).


Turn Off the Red

If you turn off the Red light completely, there are 65536 different
combination of Green and Blue (256 x 256) to experiment with.

colors are displayed combining RED, GREEN, and BLUE light sources.


Color Values

HTML colors can be defined as a hexadecimal notation for the combination of Red, Green, and Blue color values (RGB).

The lowest value that can be given to one light source is 0 (hex #00) and the highest value is 255 (hex #FF).

The table below shows the result of combining Red, Green, and Blue light sources:.

A good background can make a Web site look really great.

Backgrounds

The [<]body[>] tag has two attributes where you can specify backgrounds. The background can be a color or an image.

Bgcolor

The bgcolor attribute specifies a background-color for an HTML page. The value of this attribute can be a hexadecimal number, an RGB value, or a color name:

Some characters like the [<] character, have a special meaning in HTML, and therefore cannot be used in the text.

To display a less than sign ([<]) in HTML, we have to use a character entity.


Character Entities

Some characters have a special meaning in HTML, like the less than sign ([<]) that defines the start of an HTML tag. If we want the browser to actually display these characters we must insert character entities in the HTML source.

The most important tags in HTML are tags that define headings, paragraphs and line breaks.

The best way to learn HTML is to work with examples. We have created a very nice HTML editor for you. With this editor, you can edit the HTML source code if you like, and click on a test button to view the result.

Headings

Headings are defined with the [<]h1[>] to [<]h6[>] tags. [<]h1[>] defines the largest heading. [<]h6[>] defines the smallest heading.

HTML documents are text files made up of HTML elements.

HTML elements are defined using HTML tags.

What is an HTML File?

  • HTML stands for Hyper Text Markup Language
  • An HTML file is a text file containing small markup tags
  • The markup tags tell the Web browser how to display the page
  • An HTML file must have an htm or html file extension
  • An HTML file can be created using a simple text editor

Do You Want to Try It?

If you are running Windows, start Notepad.

If you are on a Mac, start SimpleText.