21/06/2006                                                                     Page: 2

HTML TAGS

<TABLE> Creates a table with rows and columns. Text within the <TD> i.e.Table Definition tag </TD> appears as a cell. <TABLE> tag includes <TR> Table Rows tag </TR>, <TH> Table Heading tag </TH>. <CAPTION> tag also can be used for Table Heading.

<Form> tag controls are used by a visitor to enter data, select check boxes, radio buttons, select items from a list box. This tag uses Action attribute to specify where data should be returned (URL) and uses METHOD attribute to specify how data should be returned.

Common Form control tags are <Input  type=text> to create a text data entry field.

<Input type=password> to create a password field <Input type=checkbox> creates a checkbox <Input type=radio button> creates a radio button, <input type=submit> creates a submit button

<TextArea> tag creates a multiple line text data entry field. <Select> tag displays a pop up list or a scroll list.

 

Definition for all form controls other than submit, reset button must include Name to be used by server to identify data; Size width of field in the form; Maxlength - number of characters in the field; Value- characters that appear within the field.

 

<FRAME> Tags used to create and display multiple web pages within a single page. Splitting a web page into two frames like table of contents page which is displayed on the left while target of a select link in left is displayed on the right side of the page which is the main page.

 

<FRAMESET> is used instead of <BODY> tag to create frames. Frameset attributes cols in %.

To specify a target frame name the frame using name attribute in frame tag.

 

<NOFRAMES> tag used within frameset to display message to a browser that cannot display frames. Use <BODY> tag within <NOFRAMES> tag.

 

Block level elements: <H1> <H2> <P> <HR> <CENTER>. The elements should have a line break or paragraph break before and after the element. Functional and logical division of block level elements use <ADDRESS> tag to identify text within these tags as authorship and contact information.

 

<DIV> tags are used to mark up logical division in text.

 

Basic functional units of documents are <P> and <H>. Quotes are needed around an attribute value whenever it includes any character other than letters, digits, periods or hyphens. Quotes used whenever there is any type of white space in an attribute value.

 

Four sets of generic attributes that can be used with almost every element are:

Language attribute - <Lang> to specify which foreign language is used.

DIR attribute - specifies direction that is used with language.

Style attribute; Event attribute; Title.

 

Home |  VB6-1 |  VB6-2 |  VB6-3 |  VB6-4 |  VB6-5 |  HTML-1 |  HTML-2 |

This site was last updated 06/21/06