|
|
|
|
Web Master Tricks
This page of Web Magic contains a guide to HTML elements for forms and tables. A few very useful tips to the proper use of the tag elements will help to cut down on the amount of coding within your pages and utilize the elements as they were meant to be utilized :)
I would like to encourage those who provide forms on their site to always include a comment textarea! This is true even with CGI scripts written to collect various data. It would be a basic consideration for those wishing to supply extra needed information or comments. There are times when specific applications require an extra input field. If you are collecting personal information from visitors, provide a privacy statement to include how this information will be used.
Opening and closing tags for forms are very misused within banner exchanges and coding supplied by affiliate programs. Many people fail to close an opening tag prior to closing a previous open tag. Others when using tables, put form opening and closing tags within various cells which are not interpreted correctly due to being embedded within the table. Be careful when using forms and tables and verify your coding to be sure it will function properly! Please note that your email is available to email spam robots through your forms :( Try inserting <!-- stopindex --> prior to your form command lines and <!-- startindex --> afterwards. This may help prevent these robots from accessing your email from necessary from elements.
Although widely used, using background colors within table cells does not conform to HTML 3.2 standards. The most common lack of use for form tags have been: Using: <TD><B> text </B></TD> . . when the use of <TH> serves the same purpose and takes less coding :)
<TR><TD align=center></TD><TD align=center></TD></TR> the same can be accomplished by using: <TR align=center><TD></TD><TD></TD></TR> Never leave a table cell empty within a table. If you have a cell which does not contain data, insert a non-breaking space character within the table cell: <TR><TD> </TD><TD> </TD></TR>
[ Back to Top | Home ]
Copy & Copyright (c) 1998 - 2006 Creative Computing
| ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
|
Home
HTML Validation CGI Tips Web Security Search Engines Spam Mail
Online Services
Site Resources
|