by Dinesh Thakur Category: HTML

The Common Gateway Interface (CGI) is a specification defined by the World Wide Web Consortium (W3C), defining how a program interacts with a Hyper Text Transfer Protocol (HTTP) server. The Common Gateway Interface (CGI) provides the middleware between WWW servers and external databases and information sources. CGI applications perform specific information processing, retrieval, and formatting tasks on behalf of WWW servers.



 
by Dinesh Thakur Category: HTML

Unordered lists are used to represent a set of items that have a relation among themselves but do not follow a specific order. The syntax is same as that of ordered list, only <ol> and </ol> tags are replaced by <ul> and </ul>.

 
by Dinesh Thakur Category: HTML

What is HTML?At its most fundamental, Hypertext Markup Language (HTML) is a set of special codes that you embed in text to add formatting and linking information. HTML is based on Standard Generalized Markup Language (SGML). By convention, all HTML information begins with an open angle bracket (<) and ends with a closing angle bracket (>), for example, <html>.



 
by Dinesh Thakur Category: HTML

This tag defines an input area within a form. It asks the user to input information in one of several ways. The different ways of input are specified by "type attribute. This attribute can accept text, radio, checkbox, passwords submit, reset, image, hidden, etc. as its value. Each of them will be discussed separately in the coming sections.



 
by Dinesh Thakur Category: HTML

A frame is an independent scrolling region or window, of a web page. A framed document divides a browser window into multiple panes or smaller window frames. Each frame may contain a different document. Frames can communicate with each other so that an action performed on a page in one frame can change the contents and behavior of another frame.

 
by Dinesh Thakur Category: HTML

An HTML form is a section of a web document into which the user can enter information. This information is passed back to a web server where it might be recorded in a database for future use or perhaps used to control what information is returned to the user.



 
by Dinesh Thakur Category: HTML

The label is used to insert images: <img>. This tag consists of a single instruction and so </ img> does not exist and their use is prohibited. We can insert an image in mid sentence as if it were a word of it and will be displayed by the browser after the text.

 
by Dinesh Thakur Category: HTML

Anchors elements are used to link multiple HTML documents. It requires only one tag viz., the <A> tag. It occurs only in the body of an HTML document. If an anchor is used to turn text into a hyperlink, the text is usually colored blue and underlined.

 
by Dinesh Thakur Category: HTML

A table is an orderly arrangement of data distributed across a grid of rows and columns similar to a spreadsheet. In printed documents, tables commonly serve a subordinate function, illustrating some point described by accompanying text. Tables still perform this illustrative function in HTML documents.

 
by Dinesh Thakur Category: HTML

In general, when a visitor clicks the "submit" button, two things are sent to the server: the data that the visitor typed into the form, and an action, which basically tells .the server the name of the program, which knows how to process the form's data.

 
by Dinesh Thakur Category: HTML

HTML also supports a special input field, a file field, to allow visitors to upload files. If you want visitors to submit information - say a picture, a spreadsheet, a word-processed document or a scanned document, they can use this field to simply upload the file with the hassle of using FTP or e-mail the file.



 
by Dinesh Thakur Category: HTML

SUBMIT- After filling up the form, the user needs to submit the information. An <INPUT> tag with type = submit provides a button that submits the information in the completed form to the URL, given as the action attribute of the FORM tag.



 
by Dinesh Thakur Category: HTML

The input "type" = hidden is unusual in the respect that they do not appear in the displayed form. By setting the "type" attribute to hidden, it is possible to transmit default or previously specified text that is hidden from the user to the handling program.

 
by Dinesh Thakur Category: HTML

Two attributes "rowspan" and "colspan" are used to combine adjoining cells into larger cells. These attributes are used in either <TH> or <TD> tags and accepts a number as value. For rowspan attribute this number indicates the number of rows a cell should take up and for colspan the number of columns the cell should span. In both the cases the present cell is included in counting.

 
by Dinesh Thakur Category: HTML

Now day’s lists are omnipresent. Whenever one jots down the items to be bought from a grocery store, one goes through the telephone directory to look for a particular phone number or looks up at the table of contents of a book, or is taking the help of lists to make his task easier. In fact, lists are the best method of organizing information and presenting it in a structured fashion.



 
by Dinesh Thakur Category: HTML

<FIELDSET>tag creates a box around a group of widgets and <LEGEND>tag provides a label to the field set. Both tags require closing tags.

 
by Dinesh Thakur Category: HTML

URL, is a fancy name for address. Each file on the Internet has a unique URL. The first part of the URL is called the protocol. It tells the browser how to deal with the file that it is about to open. One of the most common protocols you will see it HTTP, or Hypertext Transfer Protocol.



 
by Dinesh Thakur Category: HTML

An Ordered list is one that is numbered and may also be used to indicate sequential form of information. <ol> and </ol> are opening and closing tags for an ordered list respectively. The code used for ordering the List as below:



 
by Dinesh Thakur Category: HTML

Doctype is a piece of code that goes in the first line of an HTML webpage. Don't worry about what's in it just recognize that this line is a Doctype. And I said 'a' Doctype as the fun part is there are a whole bunch of them. Which is why it is so important for you to understand which type pertains to your website.

 
by Dinesh Thakur Category: HTML

A pull down menu lets the user select one choice out of many possible choices. One nice aspect of pull-down menus is that all choices do not have to be seen on the screen and are normally hidden. They occupy minimal amount of space as it displays only on item of the list. In this kind of input field you use <SELECT>instead of <INPUT> and it has a closing tag.

 

Page 1 of 2



About Dinesh Thakur

Dinesh ThakurDinesh Thakur holds an B.SC (Computer Science), MCSE, MCDBA, CCNA, CCNP, A+, SCJP certifications. Dinesh authors the hugely popular blog. Where he writes how-to guides around Computer fundamental , computer software, Computer programming, and web apps. For any type of query or something that you think is missing, please feel free to Contact us.