HTML Main Commands

Command delimiters < and > are as far as possible hided for best perception

Delimiters

P - new paragraph - /P
BR - new line
HR - horizontal splitter
HR WIDTH="value%"- horizontal splitter of [value] percent width


Font Style

B - bold - /B
I - italic - /I
U - underlined - /U
S - striketrough- /S
BLINK - blinking - /BLINK
Hc - header (c=1...6) - /Hc
TT - fixed width - /TT


Alignment

CENTER - by center
LEFT - by left
RIGHT - by right
text -
<type>
paragraph (table etc.) -
<P ALIGN=type>


Font Properties

set - <FONT property=value property=value...>
cancel - </FONT>
SIZE=number - font size (absolute)
SIZE=+number - size of font comparatively of current (+ or -)
COLOR="#rrggbb" - font color (RGB)
FACE="name" - font name (RGB)


Pictures

<IMG property=value property=value...>
SRC="path" - picture file
BORDER=1 - show border
WIDTH=number - picture width (on screen)
HEIGHT=number - picture height (on screen)


References

<A HREF="path">caption</A> - file reference
<A NAME="label">caption</A> - label
<A HREF="path#label">caption</A> - label reference (other file)
<A HREF="#label">caption</A> - label reference (current file)


Format Of Document

<BODY property=value property=value...>text</BODY> - visible part of document
BGCOLOR="#rrggbb" - background color (RGB)
BACKGROUND="path" - background picture file
TEXT="#rrggbb" - default text color (RGB)
LINK="#rrggbb" - reference color (RGB)
ALINK="#rrggbb" - active reference color (RGB)
VLINK="#rrggbb" - followed reference color (RGB)


Preferences Of Document

<HEAD>preferences</HEAD> - unvisible part of document
TITLE - document title (caption of window) - /TITLE
BGCOLOR="#rrggbb" META HTTP-EQUIV="Content-Type" CONTENT="text/html; charset=windows-1251" - character set
META NAME="preference" CONTENT="value"- other preferences (Author, Description etc.)


Lists

UL - bulletted - /UL
OL - numbered - /OL
LI - element of list
DL - description list - /DL
DT - term
DD - description


Text Style

PRE - fixed font with saving of all spaces and line break - /PRE
BLOCKQUOTE - tabbed - /BLOCKQUOTE
DFN - decorated - /DFN
CODE - using fixed font - /CODE
STRONG - using bold font - /STRONG


Symbols, Equal To Special

&lt; - <
&gt; - >
&amp; - &
&quot; - "


Table

TABLE - table - /TABLE
TR - row of table - /TR
TD - column in a row - /TD
<element parameter=value parameter=value...>- preferences of table, td or tr
WIDTH="value%" - width
ALIGN=type - alignment
VALIGN=type - vertical alignment


Home