Sunday, August 8, 2010

Website Design and Programming – Introduction to Web Forms

There is practically no website without at least a form in one of its pages. Forms are useful to collect data from the website visitors and users. Once the user submits the form to the server, a form processing script must get the form data, validate that the user input matches the expected format for each field (e.g: email address field must be a string of text with the format of a valid email address) and process this information as desired. The script may save it into a database, send it by email or just do some processing with it and display the result. Validating the user input is essential to prevent malicious users from damaging your site.

A form definition in html starts with the form tag and ends with the /form tag. This tag can have several attributes like method (GET or POST), and action (the url of the form processing script). If use the GET method, the form data is encoded in the action URL. This method is recommended when the form is a query form. With the POST method, the form data is to appear within a message body. This is the recommended method when the form will be used to update a database, or send email, or make any action other than just retrieve data.

The form fields are used to collect the data. Generally a label is placed by each field, so the user knows what data to input. There are different kind of fields, among them:· Textboxes · Textareas· Drop-downs· Multi select · File· Radio buttons· Checkboxes· Buttons· Hidden

The hidden fields are used to send some data that the user does not need to see, along with the form. An example of this could be a form number, so the form processing script identifies which form has been submitted.
The File field allows users to upload a file. The form processing script will get the file together with the rest of the form data. For this field to work properly, you need to include this attribute in the form tag: enctype=”multipart/form-data”.
Buttons are used to submit or reset the form.

Refer to an HTML guide for full description on the attributes and syntax of each tag. You may find a guide at http://www.w3schools.com/tags/default.asp or at http://www.w3.org/MarkUp/ among many other sites.
When the form is complex, it is useful to group fields in areas using the fieldset tag. Just place the fieldset tag, then optionally a legend Section Name /legend tag, then all the pertinent form fields, and the /fieldset tag after them.

It is possible to use CSS (Cascading Style Sheets) or inline styles to change the look of the form controls.

You can bring your forms to a different level by combining them with the usage of scripting language like JavaScript. You can make the form react immediately to certain events, like the user clicking on a control, or a field changing its value. You can highlight the field that has the focus, for example. Or count how many characters have been entered in a text box or a textarea. You can make calculations and display the results automatically. The possibilities are endless.

The Money making of a Niche ::Free Data Entry Work :: Imtiaztips Weblog :: Free Webmaster Articles :: More iPod Articles :: Download Freeware Software :: Updated Contents about Google AdSense for NEWBIES. ::ImtiazTips Online Business

Saturday, August 7, 2010

Website Design Resources And Information

People who have an idea for a website sometimes require help in finding out relevant content to add to their website. This is where article websites are invaluable as you are able to use the articles on your site for free as long as you make all the links live.

There are three article websites I regularly use for this purpose: ezinearticles.com / goarticles.com / searchwarp.com

You should be able to find relevant articles on the subject matter of your website which will include lots of keywords to enable search engines to pick up your site.


It is also worthwhile submitting your own articles to these websites. There are number of reasons for this, firstly other people may want to use your article on their website. At the bootom of the article you are able to include a link to your own website, therefore when somebody includes it on their website this gives you a backward link.


As we are all aware the number of backward links a website has is becoming increasingly important and the more links you have, the more visitors to your website you are likely to get.


Many people also read this articles on the article websites which could in turn result in more visitors to your site.
If these article websites are not sufficient or if you want original content you could try a website like elance.com. This site has many experts in different fields and is a way of outsourcing work.


Other ways of promoting your website as well as writing articles is pay per click advertising. Programs such as google adwords can prove to be a very useful and beneficial way of attracting additional visitors to your website. Text link adverts on a high traffic website is another popular option.


In my opinion writing articles is probably the best way of promoting your website and building up the number of your backward links. This can be very time consuming, not so much writing the article but submitting it to the article websites. There is a website at articles-submission.com which for a small fee submits your article to twenty of these websites.

Visit also: http://plrarticlecollecton.50webs.com/ Related Links: Computers Technology & Internet Business[The Money making of a Niche ::Free Data Entry Work :: Imtiaztips Weblog :: Free Webmaster Articles :: More iPod Articles :: Download Freeware Software :: Updated Contents about Google AdSense for NEWBIES.]

Welcome To The World Of CSS Web Design

Although CSS was first introduced in the mid 1990s, it did not become a mainstream tool among web designers and masters until more recent years. This is unfortunate, because there are millions of poorly designed web sites cluttering the internet that could be easily improved with the help of CSS.

So what exactly is CSS? CSS is an acronym that stands for Cascading Style Sheets. The term Cascading Style Sheets implies two things. First off, the style sheets are cascading. This means that multiple style sheets can be used for a single web page.

Additionally, the term “cascading” also refers to the way a style is determined in the event that more than one rule matches a single element. The second thing that is implied by the name Cascading Style Sheets is that the purpose of CSS is to style web pages. Whereas the purpose of HTML (or XHTML) is to define the structure of a web page, the purpose of CSS is to define the presentation.


The reason that so many web pages have broken layouts in different browsers is because they try to use HTML to control the structure and presentation of the page. The most common abuse of HTML is attempting to use tables as a presentation method. Although you may be able to achieve the look you want in a single browser, your web page will look broken and distorted in many other browsers.

The only time that tables should be used is to hold a set of data (such as the results from a scientific experiment). If you do have a legitimate use for tables on your web page, you can even use CSS to style your table and make it more attractive.

By taking the time to learn CSS, you will be able to create a web page that looks much more consistent across a variety of browsers.

Visit also: http://plrarticlecollecton.50webs.com/ Related Links: Computers Technology & Internet Business[The Money making of a Niche ::Free Data Entry Work :: Imtiaztips Weblog :: Free Webmaster Articles :: More iPod Articles :: Download Freeware Software :: Updated Contents about Google AdSense for NEWBIES.]