By: Mithila Desai
Books:
Web: W3C - The World Wide Web Consortium: http://www.w3.org/
RichInStyle: http://www.richinstyle.com/guides/
DHTML, HTML & CSS @ microsoft.com : http://msdn.microsoft.com/workshop/author/default.asp
Information on search engines: www.searchenginewatch.com
HTML: Hyper Text Markup Language.
Why businesses are using internet sites?
Internet: to reach outside enterprise like customers
Extranet: to communicate with enterprises they do business with.
Intranet: Share information with employees.
HTML specifications are set by the world wide web consortium or w3c.
index.htm or default.htm designates the homepage. When the browser
connects to the web server its looking for index.htm.
ftp: software utility to transfer files from one machine to another.
Examples : html_document_htm.htm
<!-- .. -- > |
- |
Documenting / comments |
<!-- this is a comment --> |
<!DOCTYPE > |
|
|
|
META tag <META> |
|
Information of the html document. Search engines use information in meta tag for indexing the page. Can be anywhere in the document but usually in HEAD tag. |
|
|
AUTHOR GENERATOR DECRIPTION KEYWORD |
|
<META NAME="AUTHOR" CONTENT="Mith"> <META NAME="GENERATOR" CONTENT="IE5"> <META NAME="DESCRIPTION" CONTENT="HTML tag Information"> <META NAME="KEYWORDS" CONTENT="HTML, Internet, ftp"> |
HTML tag <HTML>.. </HTML> |
|
Tells the browser the beginning of the document and end of the document. |
<HTML> Entire HTML Document </HTML> |
HEAD tag <HEAD> ..</HEAD> |
|
Header information such as creation date, author name, modifications etc. |
<HEAD> Author : Mithila Created on: Dec 04 </HEAD> |
TITLE tag <TITLE> ..</TITLE> |
|
TITLE tag goes in the HEAD container tag. Contains the title of the page, which will appear in the title bar of the browser. |
<HEAD> <TITLE> My Home Page </TITLE> </HEAD> |
BODY tag <BODY>.. </BODY> |
|
Everything hat will appear in the viewer's browser. |
<BODY> Content that the viewer should view. </BODY> |
|
BGCOLOR |
Changes the background color of the document. |
<BODY BGCOLOR=#cccccc> |
|
LINK |
Set the color of unvisited link |
<BODY LINK=#ff0000> |
|
VLINK |
Set the color of visited link |
<BODY VLINK=#00ff00> |
|
ALINK |
Set the color of active link |
<BODY ALINK=#0000ff> |
|
TEXT |
Set color of the text |
<BODY TEXT=#cc0000> |
<H1>.. </H1> <H2> .. </H2> <H3> .. </H3> <H4> .. </H4> <H5>.. </H5> <H6> .. </H6> |
|
For formatting heading. |
<H1> Format various levels of heading </H1> <H6> There are 6 levels of heading h1 through h6</H6> |
|
|
ALIGN = “right” |
Heading to be right aligned. |
<H2 ALIGN=”right”> Heading to be right aligned. </H2> |
|
|
ALIGN = “center” |
Heading to be center aligned. |
<H3 ALIGN=”center”> Heading to be aligned in center. </H3> |
|
|
ALIGN = “left” |
Heading to be left aligned. |
<H4 ALIGN=”left”> Heading to be left aligned. </H4> |
|
<HR> |
|
Adding horizontal rule. |
<HR> |
|
|
WIDTH=n |
To set the width of the rule in pixels |
<HR WIDTH=100> |
|
<B> .. </B> |
|
Text in Boldface |
<B> text </B> |
|
<I>.. </I> |
|
Text in italics |
<I> text </I> |
|
<U>.. </U> |
|
Underline text |
<U> text </U> |
|
BREAK tag <BR> |
|
Line Break |
<BR> text next line |
|
|
CLEAR=LEFT CLEAR=RIGHT CLEAR=ALL |
Moves the next line of text to next paragraph. |
<BR CLEAR=ALL> |
|
<P> |
|
Paragraph tag is used for adding two line break at the end of paragraph. |
<P> This tag is used for adding two line breaks. |
|
<PRE>.. </PRE> |
|
Preformat tag displays text exactly the way it has been typed including spaces and line breaks. |
<PRE> Displays text exactly the way it has been typed including spaces and line. Useful for displaying source code. </PRE> |
|
<BLOCKQUOTE>.. </BLOCKQUOTE> |
|
Creates quotation blocks. For including some else’s text in the document. |
<BLOCKQUOTE> Use quotation blocks for including some else’s text in the document. </BLOCKQUOTE> |
|
<FONT> .. </FONT> |
|
Changing font of the text. |
|
|
|
FACE=”Times roman” |
|
<FONT FACE=”times roman”> Changes font to times roman </FONT> |
|
|
SIZE=n SIZE=+n |
Absolute font size Relative font size |
<FONT SIZE=4> Changes font size to “4” </FONT> <FONT SIZE = +3> Changes font size 3 units greater than the default. </FONT> |
|
|
COLOR=hexadecimal |
Change the color of the text |
<FONT COLOR=#0000ff>Changes the color of the text to blue </FONT> |
|
Ordered list tag <OL> .. </OL> |
|
Creates ordered list. Use <LI> List item tag for each entry. |
<OL> <LI>Order list is where items are created in particular order. </LI> <LI>The numbering style is Arabic numerals </LI> </OL> |
|
|
TYPE |
The default numbering style is Arabic numerals. To change the style use TYPE attribute. TYPE=a (lowercase letters eq a, b, c) TYPE=A (uppercase letters eq A, B, C) TYPE=i (small roman numbers eq i, ii, iii) TYPE=I (large roman numbers eq I, II) |
<OL TYPE=a> <LI> TYPE=a (lowercase letters eq a, b, c) </LI> <LI>TYPE=A (uppercase letters eq A, B, C) </LI> <LI>TYPE=i (small roman numbers eq i, ii, iii)</LI> <LI>TYPE=I (large roman numbers eq I, II)</LI> </OL> |
|
|
START |
Change the starting number of the ordered list using START attribute. |
<OL START = 3 > <LI> TYPE=a (lowercase letters eq a, b, c) </LI> <LI>TYPE=A (uppercase letters eq A, B, C) </LI> <LI>TYPE=i (small roman numbers eq i, ii, iii)</LI> <LI>TYPE=I (large roman numbers eq I, II)</LI> </OL> |
|
Unordered list tag <UL> .. </UL> |
|
Unordered list, the order of the items is not significant. |
<UL> <LI> Order of the items is not significant.</LI> <LI>Change the bullet type using TYPE attribute. </LI> </UL> |
|
UL tag attribute |
TYPE |
Changes the default bullet to another character. TYPE=DISK (Default) TYPE=SQUIARE TYPE=CIRCLE |
<UL> <LI>TYPE=DISK displays circular bullet (Default) </LI> <LI>TYPE=SQUIARE displays square bullet</LI> <LI>TYPE=CIRCLE displays circular bullet</LI> </UL> |
|
Definition List tag <DL> .. </DL> |
|
Definition list is useful when there are number of items and each item has a related piece of information. |
<DL> <DT> Ordered list <DD> Order list the items have to be in particular order. <DT> Unordered list <DD> Unordered list the items can be listed in any order. <DT> Definition List <DD> Definition list is the list with items that have corresponding definitions. </DL> |
|
Inserting Special character |
|
For inserting special character use ampersand (&) to open and semicolon (;) to close. |
|
|
|
© |
Copyright symbol |
© |
|
|
® |
Register trademark symbol |
® |
|
|
½ |
One-half faction |
½ |
|
Anchor tag <A href=x> .. </A> |
|
Tells the browser which location to go to and ULR defines the location. |
<A href=http://www.w3.org/MarkUp/Guide/ >W3C Getting started with HTML </A> |
|
Absolute URLs |
Full path to the target file. |
|
|
Relative URL |
Specify the location of the target relative to the original document. Target should reside on the same server as originating. |
|
|
NAME |
For creating links within the same document |
<A NAME=”top”></A> [<A href=#top> Top of Page</A>] |
|
TARGET= “_SELF” TARGET= “_BLANK” TARGET= “_TOP” |
Loads the new page into the same frame as the document. Load the new page into a new window and can close the window without exiting the browser. Removes the frame and displays the linked page in a frame free browser window. |
Eg in FRAME table |
FTP |
|
To download files from other servers |
<A HREF=”ftp://ftp.company.com/pub/”>Free Download</A> |
Gopher |
|
Link to Gopher site |
<A HREF=”gopher://gopher.tc.edu/1”>UMN Gopher</A> |
Usernet |
|
Linking to Usenet newsgroups |
<A HREF=”news://news.world”>Usenet World news</A> |
|
|
Link to email address |
<A HREF=”mailto:mdikshit@hotmail.com”>Contact mithila</A> |
Changing color links |
|
|
Use LINK attribute in BODY tag to change the color of the text links. |
IMAGES
Image Tag <IMG > |
|
Insert an image reference in HTML code.
|
<IMG SRC="images/e_stamp.jpg"> |
|
ALT=x |
Displays text while the image is being downloaded |
<IMG SRC="images/e_stamp.jpg"> |
|
WIDTH=n HEIGHT=n |
Width and Height of the image in pixels. Helps the webpage to arrange and display all the elements correctly. |
<IMG SRC="images/e_stamp.jpg" WIDTH=63 HEIGHT=78> |
|
LOWSRC=image file |
Allows 2nd image to be displayed. Browser will display the 2nd image 1st. Hence lowsrc image should be such that it can be downloaded fast. |
<IMG SRC="images/e_stamp.jpg" LOWSRC=”images /e_stamp_small.jpg”> |
|
BORDER=n |
Border around the image in pixel. |
<IMG SRC="images/e_stamp.jpg" BORDER=3> |
|
VSPACE=n |
Empty space above and bellow the image in pixels |
<IMG SRC="images/e_stamp.jpg" VSPACE=”10”> |
|
HSPACE=n |
Empty space on either sides of the image in pixel. |
<IMG SRC="images/e_stamp.jpg" HSPACE=”10”> |
|
ALIGN=”LEFT” |
Image is on the left and subsequent text wraps to the right. |
<IMG SRC="images/e_stamp.jpg" ALIGN=”LEFT”> |
|
ALIGN=”RIGHT” |
Image is on the right and subsequent text wraps to the left. |
<IMG SRC="images/e_stamp.jpg" ALIGN=”RIGHT”> |
|
ALIGN=”TOP” |
Image is on the top and subsequent text wraps below the image. |
<IMG SRC="images/e_stamp.jpg" ALIGN=”TOP”> |
|
ALIGN=MIDDLE |
Image is in the middle and subsequent text wraps below the image. |
<IMG SRC="images/e_stamp.jpg" ALIGN=”MIDDLE”> |
|
ALIGN=BOTTOM |
Image is at bottom of the baseline and subsequent text wraps below the image. |
<IMG SRC="images/e_stamp.jpg" ALIGN=”BOTTOM”> |
Clearing the text around image |
|
To break up the text around image and start a new paragraph. |
Use CLEAR attribute with BREAK tag. |
Background images |
|
To use graphic images as background. |
Use BACKGROUND attribute in BODY tag. |
Graphics as hyperlinks |
|
Place the entire IMAGE tag inside the ANCHOR tag. |
<A HREF = “resume.htm”> <IMG SRC=”images/resume.jpg”> </A> |
Image Maps |
|
Divide image into hot-spot regions and hyperlink each region to another web page. |
<IMG SRC=”images/menu.gif” USEMAP=”#footer” HEIGHT=”70” WIDTH=”200”> <MAP NAME=”footer”> <AREA SHAPE=RECT COORDS=”0,0,8,8” HREF=”contact.htm”> <AREA SHAPE=RECT COORDS=”9,9,20,20” HREF=”index.htm”> </MAP> |
|
SHAPE=”RECT” SHAPE=”CIRCLE” SHAPE=”POLY” |
Shape of the hotspot; rectangular, circular, polygonal |
|
|
COORDS=”0,0,10,10” |
Coordinates of the hotspot |
|
|
HREF NOREF |
Which page to download when clicked on hotspot. When hot spot not linked to any page. |
|
MULTIMEDIA
EMBED tag <EMBED> |
|
Audio as background sound or Video File |
<EMBED SRC=”music.mid”> <EMBED SRC=”video.mov”> |
|
AUTOSTART=”true” AUTOSTART=”false” |
Start playing background immediately on download. |
|
|
LOOP=n |
How many times to play the sound file. |
|
|
CONTROLS=”CONSOLE” CONTROLS=”SMALLCONSOLE” |
What kind of user controls to display. |
|
|
CONTROLLER=”true” CONTROLLER=”false” |
Whether or not to show the player controls. |
|
|
HIDDEN=true / false |
To hide the audio console from view. |
|
|
VOLUME=n% |
Set the volume. |
|
NOEMBED tag <NOEMBED>.. </NOEMBED> |
|
Write a massage to those visitors whose browser do not support EMBED tag |
<NOEMBED> This page includes an embedded audio clip as a background that is not supported by your browsers </NOEMBED> |
OBJECT tag |
PARAM |
? |
|
APPLET Tag <APPLET>.. </APPLET> |
|
Programs that load and run in a web browser. |
<APPLET CODE=javaprg.class WIDTH=”300” HEIGHT=”200”> </APPLET> |
|
CODE= |
Java source file |
|
|
WIDTH=n |
Width of the applet |
|
|
HEIGHT=n |
Height of the applet |
|
PARAM tag <PARAM> .. </PARAM> |
ServeIP ServerPort |
Information within the APPLET tag |
<APPLET CODE=javaprg.class WIDTH=”3”HEIGHT=”2”> <PARAM NAME=”ServerIP” VALUE=””> <PARAM NAME=”ServerPort” VALUE=”8090”> </APPLET> |
TABLES
TABLE tag <TABLE>.. </TABLE> |
|
Start and end of the table. All table elements are within this tag. |
<TABLE > <TR> <TD>Row1Col1 </TD> <TD>Row1Col2 </TD> </TR> <TR> <TD> Row2Col1 </TD> <TD> Row2col2 </TD> <TD> Row2Col3 </TD> </TR> </TABLE> |
|
BORDER=n |
Width of the border around table |
<TABLE BORDER=2> <TR> <TD>Row1Col1 </TD> <TD>Row1Col2 </TD> </TR> <TR> <TD> Row2Col1 </TD> <TD> Row2col2 </TD> <TD> Row2Col3 </TD> </TR> </TABLE> |
|
ALIGN=”left” ALIGN=”right” ALIGN=”center” |
Justify the table with the page margin. |
<TABLE ALIGN=”right”> <TR> <TD>Row1Col1 </TD> <TD>Row1Col2 </TD> </TR> <TR> <TD> Row2Col1 </TD> <TD> Row2col2 </TD> </TR> </TABLE> |
|
WIDTH=n or WIDTH=n% |
Width of the table |
<TABLE WIDTH= 50%> <TR> <TD>Row1Col1 </TD> <TD>Row1Col2 </TD> </TR> <TR> <TD> Row2Col1 </TD> <TD> Row2col2 </TD> </TR> </TABLE> |
|
HEIGHT=n Or HEIGHT=n% |
Height of the table. |
<TABLE HEIGHT= 50%> <TR> <TD>Row1Col1 </TD> <TD>Row1Col2 </TD> </TR> <TR> <TD> Row2Col1 </TD> <TD> Row2col2 </TD> </TR> </TABLE> |
|
CELLPADDING=n |
Adds space around content of cell. |
<TABLE CELLPADDING= 20> <TR> <TD>Row1Col1 </TD> <TD>Row1Col2 </TD> </TR> <TR> <TD> Row2Col1 </TD> <TD> Row2col2 </TD> </TR> </TABLE> |
|
CELLSPACING |
Adding space between cells. |
<TABLE CELLSPACING=5> <TR> <TD>Row1Col1 </TD> <TD>Row1Col2 </TD> </TR> <TR> <TD> Row2Col1 </TD> <TD> Row2col2 </TD> </TR> </TABLE> |
|
BGCOLOR=n |
Background color of the table |
<TABLE BGCOLOR=”#ffffff”> <TR> <TD>Row1Col1 </TD> <TD>Row1Col2 </TD> </TR> <TR> <TD> Row2Col1 </TD> <TD> Row2col2 </TD> </TR> </TABLE> |
|
BACKGROUND=”image.jpg” |
Display background image of the table |
|
|
BORDERCOLOR=”red” |
Color of table border |
|
|
BORDERCOLOR:IGHT=color BORDERCOLORDARK=color |
Lighter or Darker of the two border colors to create. |
|
|
FRAME=”above” FRAME=”below” FRAME=”border” FRAME=”hsides” FRAME=”vsides” FRAME=”void” |
Display a border frame for the table at the top, bottom, all four sides, on the left and right or no borders. |
<TABLE FRAME=”top”> <TR> <TD>Row1Col1 </TD> <TD>Row1Col2 </TD> </TR> <TR> <TD> Row2Col1 </TD> <TD> Row2col2 </TD> </TR> </TABLE> |
TABLE ROW <TR>.. </TR> |
|
Start and end of the row in a table. |
|
|
ALIGN=”left” ALIGN=”right” ALIGN=”center” ALIGN=”justify” |
Align a row or cell horizontally with the cell margin. |
<TABLE > <TR ALIGN=”right”> <TD>Row1Col1 </TD> <TD>Row1Col2 </TD> </TR> <TR> <TD> Row2Col1 </TD> <TD> Row2col2 </TD> </TR> </TABLE> |
|
VALIGN=”top” VALIGN=”middle” VALIGN=Bottom” VALIGN=”baseline” |
Align a row or cell vertically with the cell margin. |
<TABLE > <TR VALIGN=”top”> <TD>Row1Col1 </TD> <TD>Row1Col2 </TD> </TR> <TR> <TD> Row2Col1 </TD> <TD> Row2col2 </TD> </TR> </TABLE> |
Table Heading tag <TH> .. </TH> |
|
|
<TABLE BORDER=2> <TR> <TH> Heading1 </TH> <TH> Heading2 </TH> </TR> <TR> <TD> Row1Col1 </TD> <TD> Row2Col2 </TD> </TR> </TABLE> |
TABLE DATA tag <TD> </TD> |
|
Start and end of a cell |
|
|
COLSPAN=n ROWSPAN=n |
To create a row or column that spans several cells. |
<TABLE BORDER=2> <TR> <TD>Row1Col1 </TD> <TD COLSPAN="3"> Row1Col2 </TD> </TR> <TR> <TD ROWSPAN="3"> Row2Col1 </TD> <TD> Row2col2 </TD> <TD> Row2col3 </TD> </TR> <TR> <TD>Row3</TD>
</TR> </TABLE> |
Table Caption <CAPTION> .. </CAPTION> |
ALIGN=”top” ALIGN=”bottom” |
Adds captions to the table. |
<TABLE BORDER=2> <CAPTION ALIGN="bottom">Table caption at the bottom of the table</CAPTION> <TR> <TD>Row1Col1 </TD> <TD>Row1Col2 </TD> </TR> <TR> <TD> Row2Col1 </TD> <TD> Row2col2 </TD> </TR> </TABLE> |
TBODY |
|
When many cells use the same alignment and background colors then they can be grouped together within TABLE BODY. |
|
Examples : html_document_frame.htm
FRAMESET tag <FRAMESET> .. </FRAMESET> |
|
All the information that the browser needs to set up the frame structure correctly. |
<HTML> <HEAD> </HEAD> <FRAMESET> </FRAMESET> </HTML> |
|
COLS=”n, n, ..” or COLS=”n%, n% .. “ |
Divide the screen into columns |
<FRAMESET COLS=200,300> <FRAME SRC=”http://page1.com”> <FRAME SRC=”http://page2.com”> </FRAMESET> |
|
ROWS=”n, n ..” or ROWS=”n%, n% ..” |
Divide the screen into rows |
<FRAMESET ROWS=50%, 50%> <FRAME SRC=”http://page1.com”> <FRAME SRC=”http://page2.com”> </FRAMESET> |
FRAME Tag <FRAME> |
|
Identifies the URL of a web Page that should fill the page. |
<FRAMESET> <FRAME SRC=”http://page1.com”> <FRAME SRC=”http://page2.com”> </FRAMESET> |
|
NAME=framename |
Names the frame for later reference. |
<FRAMESET> <FRAME SRC=http://page1.com NAME=”firstpage”> <FRAME SRC=”http://page2.com”> </FRAMESET> |
|
MARGINHEIGHT=”5” |
White space between the top and bottom edge of frame and content. |
<FRAMESET> <FRAME SRC=http://page1.com MARGINHEIGHT=5> <FRAME SRC=”http://page2.com”> </FRAMESET> |
|
MARGINWIDTH=”5” |
White space between the left and right edge of frame and content |
<FRAMESET> <FRAME SRC=http://page1.com MARGINWIDTH=5> <FRAME SRC=”http://page2.com”> </FRAMESET> |
|
SCROLLING=yes SCROLLING=no SCROLLING=auto |
Whether or not scroll bar to be displayed. |
<FRAMESET> <FRAME SRC=http://page1.com SCROLLING=”no”> <FRAME SRC=”http://page2.com”> </FRAMESET> |
|
NORESIZE |
Prevents users from resizing any frame. |
<FRAMESET> <FRAME SRC=http://page1.com NORESIZE> <FRAME SRC=”http://page2.com”> </FRAMESET> |
|
BORDER=”5” |
The border width of all the frames |
|
|
BORDERCOLOR=”#ffff00” |
Color of the frame border. |
|
Changing frame content |
|
Use TARGET attribute of ANCHOR tag. |
|
NOFRAME tag <NOFRAME> </NOFRAME> |
|
For browsers that are non frame capable. |
|
Examples: html_document_forms.htm
FORM Tag <FORM> … </FORM> |
|
Create a form on a web page. All the tags used for creating form should be within the open and close FORM tag. |
<FORM METHOD=POST ACTION= “http://myform.com”> </FORM> |
|
ACTION= |
Transmit data from the form to the web server. Use the URL of the CGI program. |
|
|
METHOD=GET METHOD=POST |
How to send the data. “GET” will transmit URL and form data together. “POST” will transmit URL and data separately. |
<FORM METHOD=POST ACTION= “http://myform.com”> </FORM> |
INPUT |
|
Insert form elements like text, list box, radio buttons etc. |
|
|
TYPE=”text” |
Single line text box. |
<INPUT TYPE="text" NAME=mText MAXLENGTH=24 SIZE=10 > |
|
TYPE=”password” |
Like text box, but displays asterisks rather than text. |
<INPUT TYPE="text" NAME=mText MAXLENGTH=8 SIZE=8 > |
|
TYPE=”checkbox” |
Allows users to make selections from list of options. |
<INPUT TYPE="checkbox" NAME=”TEXT”> <INPUT TYPE="checkbox" NAME=”RADIO” > <INPUT TYPE="checkbox" NAME=”CHECKBOX” > |
|
TYPE=”radio” |
Allows user to make one selection from list of choices. |
<INPUT TYPE="radio" NAME=”TEXT”> <INPUT TYPE="radio” NAME=”RADIO” > <INPUT TYPE="radio" NAME=”CHECKBOX” > |
|
TYPE=”file” |
To attach a document to a field in a form. |
<INPUT TYPE=”file” NAME=”myResume”> |
|
TYPE=”hidden” |
|
|
|
TYPE=”Reset” |
Reset button clears all the data from the form. Lets the user start all over again. |
<INPUT TYPE=”reset”> |
|
TYPE=”Submit” |
When users finishes filling out the form, user has to click submit button to send data to web server. |
<INPUT TYPE=”submit”> |
|
TYPE=”image” |
Use an Image as a submit button. |
<INPUT TYPE="image" SRC="images/resume.jpg" NAME="resume" ALT="Submit"> |
|
NAME=name |
Identifies each element with a unique name. Required for all TYPEs except RESET & SUBMIT |
|
|
MAXLENGTH=8 |
Maximum number of characters in a text. |
|
|
SIZE=18 |
Maximum number of characters visible in a text. |
|
|
ALIGN=”top”/”Middle”/”Bottom” |
Align an image inside a text. Use only with TYPE=image |
|
|
VLAUE=yes |
The default entry. |
|
|
CHECKED |
Radio button or checked Box selected as default. |
|
|
DISABLED |
Disabling input to form elements. |
|
|
TABINDEX |
Allows users to move between fields using tab key. |
<INPUT TYPE="text" NAME=mText TABINDEX=”1” > |
|
ACCESSKEY |
Assigns access key or hot key. |
<INPUT TYPE="text" NAME=Text ACCESSKEY=”t” > |
SELECT tag <SELECT> … </SELECT> |
|
Start and ends a list box. |
<SELECT NAME="List Box" SIZE="3" MULTIPLE> </SELECT> |
|
SIZE |
How many choices to show at one time. Omitting this attribute tells the browser to display a drop down box. |
|
|
MULTIPLE |
Allows more than one option from a list. |
|
OPTION Tag |
|
To create the list of items inside a list box. |
<OPTION VALUE=listbox1>List1 <OPTION VALUE=listbox2>List2 |
|
VALUE |
Value that is sent to the server. |
|
|
SELECTED |
Default value. |
|
TEXTAREA Tag |
|
Allows user to type in a lot of text. |
<TEXTAREA NAME="comments" ROWS=10 COLS=40> |
|
NAME |
Name of text area |
|
|
ROWS |
Number of line visible in text area |
|
|
COLS |
Visible width of the text area. |
|
|
WRAP=”VIRTUAL” |
Word wrapping. |
|
<FIELDSET> .. </FIELDSET> |
|
Grouping related form elements helps in visual organization and it also allows to assign a keyboard shortcut. |
<FIELDSET> <LEGEND ACCESSKEY="a">Grouping Form Elements helps </LEGEND><BR> It Enhances the visual organization of forms <BR> It allows keyboard shortcuts<BR> Does it work in your browser <INPUT TYPE="text" NAME=mtext> </FIELDSET> |
MAILTO command |
|
Process forms by MAILTO method. |
|