HTML



Befor we start with Delphi's Web development it is better to go through HTML language.

HTML language is the most frequently used language in designing HTML pages. Although
you can design internet pages using visual environments such as Microsoft Front Page
(which does not assume understanding most of HTML code), some times you need to write
HTML code manualy in some cases, for example when you need to produce HTML pages
and build CGI applications.
In this topic we will describe the main idea of HTML language.

Write this code in any text editor, for example NotePad then save it as First.htm,
after that try to double click at this file to open it with your default Internet
browser.


This is a test for HTML language


Now write this code in First.htm file:


This is a test for HTML language


This is another line


Copyright (C) 1999 - 2000, Motaz Abdel Azim, Sudan university


Note:
You can return to source code at the browser by right clicking mouse button at
html text and selecting View Source.


Means new line or break.

Means horizontal rule


Add this changes to source HTML:


</font><b><font face="Arial" size = "3" color = "#800080">This is a title </font></b><font face="Courier New" size = "3" color = "#0000FF">
This is a test for HTML language


This is another line


Copyright (C) 1999 - 2000, Motaz Abdel Azim, Sudan university


This is a title will be displayed at internet exlorer at main form caption (Title).

Below text is a quick refrence for HTML tags:

Hyper-text link. e.g:

="www.geocities.com/motaz">My homepage


="MyFile.zip">Download this file


Bold text. e.g: This is a normal text, This is a Bold Text, This is also
a normal text



Line break. e.g: First line
TSecond line

Char font color. e.g: Red Text

Set font name. e.g: Font
test


..

6 levels headings, H1 is the largest in size. e.g:

Main Topic

Sub
topic



Contains header information of HTML documents such as title and keywords.
e.g:
</font></b><font face="Fixedsys" size = "4" color = "#008080">Test document </font><b><font face="Courier New" size = "3" color = "#0000FF">

Italic text. e.g: Copyright 1999 (c) Motaz

Inline image. e.g: src="MyImage.jpg">

Paragraph. e.g:

This is a paragraph



An HTML table . e.g:

Border = 1 BGCOLOR = "#FFEEBB">



<
tr>
<
td>Nametd>
<
td>E-Mailtd>
<
td>URLtd>
tr>



<
tr>
<
td>Motaz Abdel Azimtd>
<
td>motaz1@yahoo.comtd>
<
td>www.geocities.com/motaz1td>
tr>



Table data cell. See Table example.

Table row. See Table example.

Underline text. e.g: Underlined

-- --> Comment. e.g:

See also:

Ex012: Accessing records programmatically
Producing HTML tables

Example002: E-Mail Server