0% found this document useful (0 votes)
16 views16 pages

List of HTML Commands

HTML contains tags that describe the structure and content of a web page. The document lists basic HTML commands such as , , , , - for headings, for paragraphs, and for links. It also describes attributes such as color, size, and text alignment, and commands for emphasis, quotes, code, horizontal lines, and more.
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
16 views16 pages

List of HTML Commands

HTML contains tags that describe the structure and content of a web page. The document lists basic HTML commands such as , , , , - for headings, for paragraphs, and for links. It also describes attributes such as color, size, and text alignment, and commands for emphasis, quotes, code, horizontal lines, and more.
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd

LIST OF HTML COMMANDS

HTML, acronym for HyperText Markup Language, is the


predominant markup language for creating web pages. It is used to
describe the structure and content in text form, as well as to complement the text
with objects such as images. HTML is written in the form of "tags", surrounded by
angular brackets (<,>). HTML can also describe, to a certain extent, the appearance
of a document, and can include a script (for example JavaScript), which can affect the
behavior of web browsers and other HTML processors.

List of basic HTML commands


Command detail Open Closed
Document Principle <html>... </html>
Header ....(file title)....
Background Page Color <body bgcolor="#RRVVAA"> ----
Background Image <body background="XXX.gif (or jpg)"> ----
Individual Image <img src="YYY.gif (o jpg)"> ----
Image (Width and Height) <img src=".." width="n" height="n"> -----
Free space <img src=".." hspace="n"> -----
Text Color (partial) <font color="#RRVVAA">
Text Size (partial)
Period and aside <br> -----
Blank line(s) -----
As you see
Embedded Line <hr="n"> -----
Bold*Italic*Underline
Subíndice <sub> * <sup>
Center ***
distant link <a href="http://..."></a> ....</a>
Link to 'ab.html' on your PC <a href="ab.html"> ....</a>
Link same page <a href="#pepe"> ....</a>
Previous localization <a name="pepe"> ....</a>
Email Link <a href="mailto: dir.mail..."></a> ...</a>
Sound Arch <bgsound src="xx.wav"> (o .mid) -----
I displace. Canopy (text)
BASIC HTML STRUCTURES

<!-- ........ -->


To write comments, which are ignored by the Browser.

<HTML> ... </HTML>


Indicates that it is an HTML document, it must enclose the entire Document.

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 3.2//EN">


Header of every document in HTML version 3.2.

<HEAD> ... </HEAD>


Document Headings. The following are the parameters of the head command.

...
Indicate the Title of the Document. It appears in the Browser window.

<Base href="http://server.type/name.html">
Specify the address of the default document in use. Used when referring to
another page within the Document.

http://server.type/name.html
Indicate the default 'Frame' of the current page.

<Meta attribute1, attribute2>


This command describes some features of the document. For example:

<Meta http-Equiv="Refresh" Content=ss>

Update the page every ss seconds.

<Meta http-Equiv="Refresh" Content=ss url="http://server.type/name.html">

Call a different page every ss seconds.

<Meta http-Equiv="Expires" Content="Sun, 10 Sep 1998 06:23:00 GMT>

The document expires on the indicated date and must be updated.

<Meta http-Equiv="Keywords" Content="Clave1, Clave2,..">

Specify keywords for internet search engines.

Describe your page here ..

Provide a general description of your page.

<BODY attribute1=".." attribute2=".."> ... </BODY>


It contains the body of the Document, or the content of the Page.

-----------------------------------------------------

ATTRIBUTES

Specify the color of the active links on the page.


Specify the wallpaper of the page. a *.jpg or *.gif file.
BGCOLOR="..." Specifies the Background Color of the Document.
Colors are expressed in RGB format (Red, Green, Blue), where each color has a
value from 0 (0) to 255 (FF).

#FFFF00
Blue = #0000FF
#00CCFF
White = #FFFFFF
Gray = #CC9999
#CC33FF
Black = #000000
#FF0000
#00FF00

FIXED Fix the background image so that it does not scroll. (IE)
LEFTMARGIN="..." Specifies the left margin of the entire document. (IE)
LINK="..." Specifies the color of the addresses contained in the document.
Specify the text color.
TOPMARGIN="..." Fixes the top margin of the entire Document. (IE)
VLINK="..." Specifies the visited addresses included in the Document.

<BASEFONT attribute= "">


Set the writing attributes throughout the page.

ATTRIBUTES
SIZE="..." Fixes the size of the Letters, a number between 1 and 7 is used where 3 is the size.
by default. It also allows

relative sizes, e.g. SIZE=+2.


COLOR="..." Specifies the color of the letters throughout the document.
NAME="..." Specifies the font appearance type throughout the document.

...
Specify a text header of various sizes, n indicates the sizes from 1 to 6, 1 is the
larger and 6 is the smallest.

ISINDEX
Show a search index dialog. With this command alone, it cannot be created.
a search page, the Server

it must be configured to support it.

Attributes:
... Specifies the location of the program's port where the parameters will be passed
of search.
Specify an alternate message for the dialogue.

General Format:
<ADDRESS>.....< /ADDRESS>
Enclose the author's signature file on the page. The text is displayed in italics.

...
Highlight in **Bold** the enclosed Text.

...
Increase the text size.

<BLINK>.....</BLINK>
Make the text blinking.
.....
It contains an emphasis. The left and right margins are indented.

<BR>
Insert a line break.

Attributes:
...
RIGHT, LEFT, or ALL.

<CENTER>.....</CENTER>
Center the objects it contains. This command can center anything including
images, text, tables, forms,
etc.

.....
Enclose a Quote as a Book Title, etc.

.....
Encloses sample code. The text is displayed in small letters.

.....
Define a comment. All the text is ignored even if it includes HTML code.

.....
Encloses a definition. The text within this command is formatted as a definition.

...
Specify the alignment of the elements it contains. It can be used to divide the
document that has sections

aligned differently.

Attributes:
ALIGN="..."--Sets the alignment. For example: "center", "right", or "left".

...
The text is shown in italics.

...
Set the properties and the font type of the text it contains.

Attributes:
SIZE="..."--Set the font size between values of 1 and 7 where 3 is the default value.
omission. It can be specified

relative values, example. SIZE=+3.


COLOR="..."--Specifies the color of the letters.
FACE="..."--Specifies the font type. A list separated by commas can be defined.
example: Arial, Verdana, etc.

<HR attribute1="..." attribute2="...">


Insert a horizontal line.

Attributes:
SIZE="..." -- Specifies the line thickness.
COLOR="..."--Specifies the color of the line.(IE)
WIDTH="..."--Specifies the length of the line as a percentage of the page, for example.
WIDTH=70%.
ALIGN="..." -- Specifies the alignment: RIGHT, LEFT, or CENTER.
NOSHADE--Displays the line as solid.

...
Present the enclosed text as Italics.

...
Specify the text to be entered from the keyboard. The text is displayed in bold and in a fixed size.

Displays text in fixed size. Obsolete -- use the PRE command.

Show a text in columns.

Attributes:
COLS="..."--Specifies the number of columns.
...
WIDTH="..."-- Specifies the width of the columns.

.....
The text that contains it does not get truncated on the screen.

<P attribute>...< /P>


Designed to enclose text of a paragraph. The closing is optional.

Attributes:
Specifies the alignment of the paragraph. For example: "center", "left", or "right".

.....
Show the plaintext even if it contains HTML commands. Obsolete -- It is used the
PRE command.

<PRE>.....< /PRE>
Show plain text without removing spaces and line breaks.

.....
Show the text with a line through the center (strikethrough). It is different from the <STRIKE> command.

...
Indicate an example of output for a form or program. The text is displayed in size
small.

...
Show the text in small size.

...
(Netscape) Insert space blocks on the page.

Attributes:
ALIGN="..."--When the type is Block (BLOCK) it specifies the alignment of the text
around.
Values:

RIGHT or LEFT--Align the block of spaces on the specified side, and the text is truncated
around the block.
TOP, MIDDLE, BOTTOM, TEXTTOP, ABSMIDDLE, BASELINE, y ABSBOTTOM--Specify the
vertical alignment of the block with any

element in the same line.


HEIGHT="..."--When the type is BLOCK, it specifies the height of the block.
SIZE="..."--When the type is HORIZONTAL or VERTICAL, specify the size of the space.
TYPE="..."--Specifies the type of space.
Values

HORIZONTAL--Insert spaces between words.


VERTICAL--Insert spaces between two lines.
BLOCK--Insert a rectangular space block, many use the IMG command.
WIDTH="..."--When the type is BLOCK, it specifies the width of the block.

...
Show the text in bold, highlighted.

<SUB>...< /SUB>
Show the enclosed text as a subscript.

<SUP>...< /SUP>
Show the enclosed text as superscript.

...
Show the text in teletype format.

...
Show the underlined text. Do not use this command as it may be confused with an address or link.

...
Specify a variable. The text is displayed in small, fixed-size letters.

<WBR>
Make the text it contains truncate if necessary.

...
It makes the enclosed text display without processing any HTML commands it contains.
Obsolete -- The PRE command is used.

Multimedia:

<IMG attribute1 attribute2>


Place an image in the document.

Attributes:
SRC="..." Specifies the location of the Image.
DYNSRC="..." Specifies the location of a video or a VRML world. It can support a
image using the SRC of first for

those browsers that do not support videos. (IE)


CONTROLS Activate a series of Video controls. (IE)
n
"INFINITE" repeats the video

indefinitely.
Specifies the initial playback moment of the video. It can be used
"FILEOPEN" by default, "MOUSEOVER", or

both.
USEMAP="#map1" Tells the Browser to use the image as a selection interface
defined with the name "map1".
ISMAP tells the browser that the image is a selection map.
ALT="..." Specifies a text that is displayed in browsers that do not support images.
BORDER="..." Specifies the width of the border around the image. If BORDER is "0", No
presents edges in the image.
LOWSRC="..."--Specifies the address of the image that will be loaded first before the
image to be loaded. LOWSRC

It usually refers to a small image.


ALIGN="..." -- specifies the alignment of the image.
Values:

RIGHT or LEFT--Aligns to a specific side of the page, and all the text is justified to that side.
image.
TOP, MIDDLE, BOTTOM, TEXTTOP, ABSMIDDLE, BASELINE, y ABSBOTTOM--Specify the
vertical alignment of the image.

VSPACE="..." -- Specifies the space between the edge of the image and the items above or below.
of her.
HSPACE="..." -- Specifies the space between the edge of the image and the items to the right and
left.
WIDTH="..."--Specifies the width of the image. If the size does not match the original, it
adjust.
HEIGHT="..."--Same as the previous one but with the height.

<MAP attribute>...< /MAP>


Specify the selection points of an image. The AREA command is used to define the
coordinates.

Attributes:
NAME="..." -- Specifies the name of the map to be used later.

<AREA attribute1 attribute2>...< /AREA>


Specify the silhouette and the size of the selection area on the map that is shown. It is used
within the MAP command.

Attributes:
SHAPE="..." -- Specifies the silhouette of the selection area. The possible values are RECT,
RECTANGLE

POLYGON.
COORDS="..."--Specifies the silhouette coordinate. Two pairs of coordinates indicate a
rectangle, three or more pairs

define a polygon, and a pair of coordinates and a radius defines a Circle.


HREF="..."--Specifies the address where the area of the map points.
NOHREF--Indicates that this silhouette does not point to a direction.
TARGET="..."--Specifies the window where the page will be displayed. The target can be the
name of a Frame or some of the

following values:

Shows the address on a blank page.


"_parent"--Displays the address on the page that invoked it.
_self--Displays the address in the same window. (by default)
Displays the address in the current window using all the space.

<MAP attribute>...< /MAP>


Specify the selection points of an image. The AREA command is used to define the
coordinates.
Attributes:
...--Specifies the name of the map to be used later.

<AREA attribute1 attribute2>...< /AREA>


Specify the silhouette and size of the selection area in the map shown. It is used
inside the MAP command.

Attributes:
SHAPE="..."--Specifies the silhouette of the selection area. Possible values are RECT,
RECTANGLE

POLYGON.
COORDS="..."--Specifies the silhouette coordinate. Two pairs of coordinates indicate a
rectangle, three or more pairs

define a polygon, and a pair of coordinates and a radius define a Circle.


HREF="..."--Specifies the address that the map area points to.
NOHREF--Indicates that this silhouette does not point to a direction.
TARGET="..." -- Specifies the window where the page will be displayed. The target can be the
name of a Frame or some of them

following values:

_blank--Displays the address on a blank page.


_parent -- Shows the address on the page that called it.
Displays the address in the same window. (by default)
"_top"--Displays the address in the current window using all the space.

<BGSOUND attribute1 attribute2> (IE)


Reproduce a sound file in the background when the page is loaded. This file of
sound can be of type (.wav or

.au) or midi (.mid).

Attributes:
SRC="..." -- indicates the music file.
n
uninterrupted reproduction.

(IE)
Set a text that moves across the screen.

Attributes:
ALIGN="..." -- Specifies the text alignment. The possible values are "TOP", "MIDDLE", or
BOTTOM
Indicates the presentation format 'SCROLL' (omission), 'SLIDE', or
"ALTERNATE". "SLIDE" makes the text

move outside and inside, 'ALTERNATE' shows the text forward and backward repeatedly.
BGCOLOR="..." -- Sets the background color.
...--Indicates the Direction
HEIGHT="..."-- Fixes the height of the text in Pixels or %.
HSPACE="n" -- Sets the margin space to the right and left of the text.
n
indefinitely.
n
n
VSPACE="n" -- Set the top and bottom margin of the text.
WIDTH="..."-- Sets the width of the Marquee in pixels or %.

<APPLET attribute1 attribute2> parameters1 parameters2 ... </APPLET>


Insert a Java applet into the document. Any text within the APPLET command will
it will show in browsers that do not support JAVA.

Attributes:
ALIGN="..."-- Sets the alignment of the applet, the parameters are "LEFT", "RIGHT", "TOP",
"MIDDLE", or "BOTTOM".
Show a message when the browser cannot run the applet.
CODE="..." --Specifies the name of the applet.
CODEBASE="..." -- Specifies the starting address of the applet. The directory where it is located
the applet.
n--Specifies the download order of the images.
HIGHT="..."--Specifies the height of the applet in pixels or %.
HSPACE="n"--Specifies the margins in spaces outside the applet in pixels.
NAME="..." -- Indicates the name of an applet (routine), if there are more applets on the same page.
n
WIDTH="..."--Set the width of the applet in pixels or in %.

Parameters:
These are the specified parameters of each applet, which are passed as arguments.
They are expressed as commands like this

...

<EMBED attribute1 attribute2>< /EMBED>


Insert a multimedia object, such as a short video or sound, into the page. In the browsers
modern ones are maintained for compatibility.

Attributes:
...--Specifies whether to start execution or not. 'TRUE' or 'FALSE'.
HIGHT="..."-- Specifies the size in pixels or %.
...
...
SRC="..." -- Indicates the location of the file.
WIDTH="..."--Specifies the width where the object will be displayed.

<SCRIPT attribute> ...script statements... < /SCRIPT>


Enclose the programming code that runs on the page. To maintain compatibility.
the commands are marked as

comments, (<!-- script commands... --> )

Attributes:
LANGUAGE="..."--Specifies the language used in the script, such as "VBScript" Visual Basic
Script or 'JavaScript' Java Script.
SRC="..."-- Indicates the location of the file that contains a script.
It is used if you do not want to have the programming code on the page.

...
Show everything you want different from programming code. This command goes inside the
SCRIPT command.

Directions (Links):

<A attribute="...">...< /A>


When used with the HREF attribute, the text or graphic points to another document or function.
When the NAME attribute is used,
The text or the graphic identifies the name of the document.

Attributes:
HREF="..."--Specifies the URL (location) of the indicated document.
...
when you click with the

mouse. onMouseOver="--Activates a script code when the mouse is over the link.
REL="..." -- Specifies a Direct relationship.
...
TARGET="..." -- Specifies the window where the page will be displayed. The content can be the
name of a predefined Frame or

someone like this:


Values:

Loads the page in a blank window.


_parent--Load the page in the window of the document that called it.
_self--Loads the page in the same window. (Omission)
':_top'--Load the page in the entire window, regardless of the frame.

...--Specifies a caption that appears when hovering over the link, but still
not selected.

Lists:

<LI attribute>
This command lists the paragraphs as a list of words using the following sub-
commands: <DIR>, <MENU>, <OL>, or <UL>.

Attributes:
TYPE="..."
--Specify the type of indicator from the list. The most common values are: DISC, CIRCLE.
SQUARE, A, a, I, i, 1.

VALUE="..."--Specifies the value assigned to an item.

<DIR>...< /DIR>
Convert the text enclosed by <LI> into a directory list.

<MENU>...< /MENU>
Convierte el texto encerrado por <LI>, en una lista de menus.

<OL attribute>...< /OL>


Convert the text enclosed by <LI> into a numbered list.

Attributes:
TYPE="..."--Specifies the type of numbering for the indicator. One type of indicator would be: A, a,
I, i, 1.
START="..."--Specifies the initial value of the numbering.
<UL attribute>...< /UL>
Convert the text enclosed by <LI> into a bulleted list.

Attributes:
TYPE="..."--Specifies the type of indicator for the list. Common values are: DISC,
CIRCLE, SQUARE.
...
Create a defined list. Where, <DT> specifies a term from the list and <DD> specifies the
content of the term.

Window Partitions (Frames):

<FRAMESET attribute1="..." attribute2="...">...< /FRAMESET>


Define a series of windows that form a page. The FRAME and NOFRAMES commands.
go inside FRAMESET. The command

FRAMESET is used like the BODY command.


A BODY command can be included within the NOFRAMES command for those browsers.
that do not support frames.

Attributes:
BORDER="..."--Indicates the width (in pixels) of the border around the frame. (Netscape)
COLS="..."--Create the frame as columns and fix the size of each column. The width is
can be expressed as %, pixels, or in

relative size (*). For example, If you want 3 frames of equal size in the form of
column use the COL attribute like this:

COLS=33%,33%,*
FRAMEBORDER="..." -- Specifies whether to display the frame border in 3D or not. The values
common are; 0 (without border) or 1

(Omission). (IE)
...
ROWS="..."--Just like COLS, it specifies frames in the form of rows.
For example, if you want a small frame at the top of the page and a large one below, the attribute
ROWS=15%,*
...
The most common values are 'yes', 'no', and 'auto'.

<FRAME attribute1="..." attribute2="..."></FRAME>


Define a simple frame.

Attributes:
BORDER="..." -- Specifies the width in pixels of the border around the frame. (Netscape)
FRAMEBORDER="..." -- Specifies whether to display the frame border in 3D or not. The values
common are; 0 (without border) or 1

MARGINHEIGHT="..." -- Specifies the top and bottom margins.


MARGINWIDTH="..."--Specifies the left and right margin.
NAME="..." --Assign a name to the frame.
NORESIZE--Prevents the user from resizing.
SCROLLING="..." -- Indicates whether the frames have a scroll bar. The most common values are
common are "yes", "no", and "car".
SRC="..." -- Indicates the file that contains the frame.

<IFRAME attribute1="..." attribute2="..."></IFRAME> (IE)


Define an eventual frame. It does not require the FRAMESET command.

Attributes:
ALIGN="..."--Specifies the position of the text around the frame. Possible values are TOP,
MIDDLE, BOTTOM, LEFT, and

RIGHT.
FRAMEBORDER="..." -- Specifies whether the frame border is displayed in 3D or not. The values
common are; 0 (without edge) or 1

(Omission). (IE)
HEIGHT="..."--Specifies the height of the eventual frame.
MARGINHEIGHT="..."--Specifies the top and bottom margins.
MARGINWIDTH="..."--Specifies the left and right margins.
NAME="..."--Assigns a name to the frame.
NORESIZE--Prevents the user from resizing.
SCROLLING="..."--Indicates whether the frames have a scroll bar. The values more
common are "yes", "no", and "car".
SRC="..."--Indicates the file that contains the frame.
WIDTH="..."--Specifies the width of the eventual frame.

It is used within FRAMESET, any object within this command is only seen in
browsers that do not support frames.

TABLES

<TABLE attribute1="..." attribute2="...">...< /TABLE>


Create tables composed of rows and columns.

Attributes:

BORDER="..."--Specifies the width of the border around the table. If set to 0, it does not display.
edges.
Use an image for the background of the table. (IE)
BGCOLOR="..."--Sets the background color of the table.
BORDERCOLOR="..."--Sets the border color.
...--Sets the light border color for the 3D effect. (IE)
...
WIDTH="..."--Specifies the width of the table on the page.
CELLSPACING="..."--Specifies the space between the cells.
CELLPADDING="..." -- Specifies the space between the cell and the text.
FRAME="..." -- Specifies the border that should be displayed. (IE)
Possible Types:

VOID--Does not show the outer edges.


ABOVE--Displays the border on top of the table.
BELOW--Shows the border below the table.
HSIDES--Show the top and bottom borders of the table.
LHS--Shows the left border.
RHS--Shows the right border.
VSIDES--Show the right and left border.
BOX--Show all the borders of the table.
BORDER--Displays a border on all sides of the table.

HEIGHT="..." -- Specifies the height of the table on the page.


...
Possible Types:

NONE--Does not show the internal borders.


GROUPS--Show the borders as if they were several tables and groups THEAD, TFOOT, TBODY,
and COLGROUP.
ROWS--Shows the borders between rows.
COLS--Shows the borders between columns.
ALL--Show all borders for both rows and columns.

<CAPTION attribute1="...">...< /CAPTION>


Specify a title for the table.

Attributes:
ALIGN="..."--Fixes the position of the title. The values used are: LEFT, RIGHT, BOTTOM, or TOP.

<TR attribute1="..." attribute2="..."></TR>


Specify the data in rows of a table. You can enclose the header and the data.

Attributes:
ALIGN="..."--Indicates the alignment of the data in the row. For example; LEFT, RIGHT, and
CENTER.
BGCOLOR="..." -- Sets a background color for a row.
BORDERCOLOR="..." -- Sets the border color of the row.
...--Sets the light border color for the 3D effect. (IE)
...--Sets the dark border color for the 3D effect. (IE)
VALIGN="..." -- Sets the vertical alignment of the data in the row. The values are; TOP, MIDDLE,
BOTTOM and BASELINE.
HEIGHT="..."--Specifies the height of the cell.

<TH attribute1="..." attribute2="..."]...< /TH>


Turn a cell into a table header.

Attributes:
ALIGN="..."--Indicates the alignment of the data in the row. For example; LEFT, RIGHT, and
CENTER.
BGCOLOR="..."--Sets a background color for a row.
BORDERCOLOR="..." -- Sets the border color of the row.
...--Sets the light border color for the 3D effect. (IE)
Set the dark border color for the 3D effect. (IE)
VALIGN="..."--Fixes the vertical alignment of the data in the row. The values are; TOP, MIDDLE,
BOTTOM, and BASELINE.
HEIGHT="..."--Specifies the height of the cell.
NOWRAP--Prevents text truncation in the cell.
ROWSPAN="..."--Specifies the number of rows to merge.
COLSPAN="..."--Specifies the number of columns to merge.
WIDTH="..."--Specifies the width of the cell.

<TD attribute1="..." attribute2="..."></TD>


It is used within the TR command and defines the data in a cell.
The command closure can be used.

Attributes:
Use an image for the background of the cell.(IE)
BGCOLOR="..." -- Sets the background color of the cell.
BORDERCOLOR="..."--Set the border color.
... --Sets the light border color for the 3D effect. (IE)
...--Set the dark border color for the 3D effect.(IE)
WIDTH="..."--Specifies the width of the table on the page.
HEIGHT="..."--Specifies the height of the cell.
NOWRAP--Prevents text truncation in the cell.
ROWSPAN="..."--Specifies the number of rows to merge.
COLSPAN="..."--Specifies the number of columns to merge.
WIDTH="..." -- Specifies the width of the cell.
VALIGN="..."--Fixes the vertical alignment of the data in the row. The values are; TOP, MIDDLE,
BOTTOM and BASELINE.
ALIGN="..." -- Specifies the horizontal alignment of the cell. The parameters are; LEFT,
RIGHT, and CENTER.
(IE)
Specify the properties of one or more columns. This command goes after the command.
TABLE.

Attributes:
ALIGN="..."--Specifies the position of the text within the column. The parameters are;
CENTER, LEFT, RIGHT, BOTTOM, or TOP.
Indicate the columns where it applies.

(IE)
It is used with the COLGROUP command and specifies the property of a column. This command
omit any attribute of the command

COLGROUP before it.

Attributes:
ALIGN="..."--Specifies the text position within the column. The parameters are;
CENTER, LEFT, RIGHT, BOTTOM, or TOP.
SPAN="..."--Indicates the columns where it applies.

(IE)
Enclose the body of the table. This command is optional if the THEAD or commands are used.
TFOOT. Tool for separating the rows

from the table header and footer.

...(IE)
Enclose the rows that will be used as table footers. It is used after the command
TBODY.

(IE)
Enclose the rows that will be used as the header. It is used before the TBODY command.

Forms:
<FORM attribute1="..." attribute2="...">.....< /FORM>
Specify a form. These are used to send information to a server.
Attributes:
ACTION="..." -- Specifies the address of the form's output action. Usually, it is the
address of a CGI file. Also

you can specify the email address.


...
POST or GET. When GET is used, the

serve attaches the arguments at the end of the fixed address in ACTION. When using POST,
The information is sent as

an HTTP format.
TARGET="..." -- Specifies the window where the information will be displayed. The target can be a
previously defined frame or one

from the following values:


Values

Show the result on a blank page.


_parent--Displays the result on the page that invoked it.
_self--Shows the result in the same window. (by default)
Show the result in the current window using all the space.
ENCTYPE="..."--In future browsers. Specifies the type of encoding.

<INPUT attribute1="..." attribute2="..."></INPUT>


Specify a control or an input area of the form, with which the information will be sent.
to the server.

Attributes:
ALIGN="..." -- If the type is an image, specify the alignment of the text around it.
image. For example: TOP,

MIDDLE, BOTTOM, LEFT, or RIGHT.


Use this attribute in a RADIO or CHECKBOX type box, and it will be
preselected when the form is loaded.
MAXLENGTH="..."--Specifies the maximum number of characters in the input box.
NAME="..."--Specifies the name of the control or the input box. (Part of the information)
SIZE="..."--Specifies the size of the text that is displayed in the input box.
SRC="..."--if it is an image, specify the location of the image.
VALUE="..."--Specifies the value that will be sent with the corresponding name of the
information. Specify the text for

omission (TEXT). For RESET and SUBMIT, specify the text that will be displayed on the button type
3D.
TYPE="..."--Specifies the type of control.
Values:

CHECKBOX--Create a checkbox. If the user selects it, it is sent.


corresponding information on

server.
HIDDEN--Nothing is shown, but the information is sent anyway.
PASSWORD--Create a text entry line, the information is displayed represented by *
(Viewing is not allowed).
RADIO--Create a list of radio buttons from which only one can be selected
select. The alternatives may

have the same name, but they can have different values.
RESET--Create a 3D button that clears the form content. A name can be assigned.
different from RESET with the attribute

VALUE.
SUBMIT--Create a 3D button that submits the form.
IMAGE--Just like the SUBMIT type, it can submit a form immediately when the
user select the image. Together

with the normal information, when sent by selecting the image, the coordinates of the
selection point (in pixels from

the upper left point) are also sent. The X coordinate is sent as ".x" along with the
Y coordinate '.y' next to the

name.
Create an input box. The size can be specified with the SIZE attribute.

<SELECT attribute1="..." attribute2="...">< /SELECT>


Create a drop-down list. The list elements are defined with OPTION.
inside the SELECT command.
Attributes:
MULTIPLE--Specifies that multiple values can be selected.
...--Specifies the name of the list.
SIZE="..." -- Specifies how many elements will be visible.
item
Specify an item in the list. Any text can be placed inside this.
parameter.
Specifies the value that will be returned. (Part of the information).
SELECTED--Indicates the pre-selected item or element when the list is loaded.

...
Create a multi-line input box. Any text within this command is displayed
like the default value.

Attributes:
COLS="..." -- Specifies the length of the text.
...--Specifies the number of lines.
NAME="..."--Specifies a name for the inbox.
... -- Specifies whether the text will be truncated. Possible values are 'HARD', 'SOFT', or
NONE

You might also like