WebXall Italia  WebXall English  WebXall Germany

HTML 4 code tutorial Description and interpretation index with examples

Legenda:  F= Facoltativo,  P= End tag proibito,  V= Vuoto,   D= Deprecated,
L= Loose DTD,  f= DTD Frameset

Name Start Tag End Tag Blank Deprecated DTD Description
A           Anchor
ABBR           forma abbreviata (es.: WWW, HTTP, ecc.)
ACRONYM           acronym
ADDRESS           Information on the author
APPLET       D L applet Java
AREA   P V     Area of a image map client-side
B           Style text ...bold
BASE   P V     document basic URL
BASEFONT   P V D L Type basic character
BDO           Overwrites the bidirectional algorithm
BIG           Enlarged text style
BLOCKQUOTE           Long Quote
BODY F F       Document body
BR   P V     Forced line interruption
BUTTON           Button
CAPTION           Table Title
CENTER       D L Abbreviation for DIV align = center
CITE           Quote
CODE           Code fragment
COL   P V     Column in a table
COLGROUP   F       Groups of column in a table
DD   F       Definition of a term
DEL           Text crossed out or erased
DFN           Container of a definition
DIR       D L Directory list
DIV           Generic container language / style
DL           List of definitions
DT   F       Defined
EM           Emphasis
FIELDSET           Group controls a form
FONT       D L Change on the local style of characters
FORM           Interactive form
FRAME   P V   f Frame
FRAMESET         f Frameset
H1           Header
H2           Header
H3           Header
H4           Header
H5           Header
H6           Header
HEAD F F       Head of the document
HR   P V     Orizzontal Line
HTML F F       Root of the document
I           Italic Style
IFRAME         L IFrame
IMG   P V     Embedded image
INPUT   P V     Control module
INS           Added Text
ISINDEX   P V D L Single line placing field
KBD           Text input
LABEL           Form label
LEGEND           Legend of a group of fields in a form
LI   F       List element
LINK   P V     A Hyperlink
MAP           Images map
MENU       D L List
META   P V     Generic meta
NOFRAMES         f Container contents alternative for reproduction not based on frames
NOSCRIPT           Container contents alternative for reproduction not based on script
OBJECT           Generic object embedded
OL           Ordered list
OPTGROUP           A group of options
OPTION   F       Selectable option
P   F       Paragraph
PARAM   P V     Named property value
PRE           Preformatted text
Q           Short quote in row
S       D L Style for the deleted text
SAMP           Indicates a sample / example made by the programmes, from the writings, etc..
SCRIPT           Statement of use (of the script)
SELECT           Choices Selector
SMALL           Style text shrinks
SPAN           Generic container language / style
STRIKE       D L Text crossed with a line (cancelled)
STRONG           "Bold"
STYLE           Style information
SUB           Text below the line
SUP           Text above the line
TABLE           Table
TBODY F F       Body of the table
TD   F       Table Cell
TEXTAREA           Text Area
TFOOT   F       Table foot
TH   F       Heading Cell for a table
THEAD   F       Table Heading
TITLE           Document title
TR   F       Table row
TT           Text telex or monospaced style
U       D L Text underlined
UL           Not ordered List
VAR           Instance of a variable or a program topic

Interpretation of some elements

A valid document declares his HTML version used in the document. The declaration document type definition indicates the document type (DTD) in use for the document.

HTML 4.0 specifies three DTD, therefore the perpetrators must include one of three statements by the document type in their documents. The DTD are different elements in that support.

The DTD restricted the HTML 4.0 includes all the elements and attributes that have not been disapproved or that do not appear in documents organized frame. For documents that use this DTD, use this explanation of the type of document:
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0//EN" "http://www.w3.org/TR/REC-html40/strict.dtd">

The transitional DTD of HTML 4.0 includes everything that is contained in the DTD more rigorous elements and attributes disapproved (the majority of which relates visual presentation). For documents that use this DTD, use this explanation of the type of document:
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN" "http://www.w3.org/TR/REC-html40/loose.dtd">

The DTD ordered a frame of HTML 4.0 includes everything that is contained in most transitional DTD really. For documents that use this DTD, use this explanation of the type of document:
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Frameset//EN" "http://www.w3.org/TR/REC-html40/frameset.dtd">

The URL in each statement by the type of document allows interpreters HTML download the DTD and all sets of entities that are required. These Downloads refers to the DTD and sets of HTML 4.0 entity that supports the W3C:



http://www.w3.org/TR/REC-html40/strict.dtd -- DTD Strict, Default

http://www.w3.org/TR/REC-html40/loose.dtd -- DTD allargata

http://www.w3.org/TR/REC-html40/frameset.dtd -- DTD for Frame document

The link between identifiers and public file can be specified using a catalog file that follows the format recommended by SGML Open Consortium. A file catalog example for HTML 4.0 is included at the beginning of the section on reference information in SGML to HTML. The last two letters of the declaration indicate the language of the DTD. For HTML, this is always the English language ( " en " ).

Sorgente: liberliber.it

* Frames Introduction

The structures of 'HTML allow authors to submit documents multi-display (Multi windows) that can be windows or independent sottofinestre. The multiple displays offer designers help keep certain information visible, while others are wrapped screens (Scrolled) or replaced (Replaced). For example, within the same window, a flag would see a static, a second menu navigation and the third main document that can be navigated in his "Βody" or be replaced by crossing in the second frame . Let set an example:
This is a simple Frame document:

Layout esempio di un Frame Sorgente: http://www.w3.org/TR/REC-html40/present/frames.html#edef-FRAME