HTMLHTML TutorialHTML Codes/Generators
HTML Background Code
HTML TagsHTML Color HTML Color Chart HTML Comment Box Code HTML Scrollbox Code HTML Text Code HTML Image Code HTML Marquee Code HTML Music Code HTML Video Code HTML Form Code HTML Frames Code HTML Entities HTML Examples HTML Help/Cheat Sheet HTML Templates More Codes... HTML Generator HTML Table Generator Marquee Generator Music Code Generator HTML Text Generator Text Box Generator MySpace Generators More Generators... HTML 5 Tags Create a Website
Sponsored Links
$1.99 Domain Names
With every new non-domain purchase thru ZappyHost, you get a domain name for only $1.99. |
Comment Box CodeYou can use the following HTML code to create a comment box within your HTML document.
Example Comment Box Code:The following comment box code consists of a form containing a small textarea (the comment box) and an input field (the submit button). It also contains a break (<br />)after each element so that each form element starts on a new line. This results in: Note that the above code assumes that there's an "action page" to process the contents of the form. In this example, "/html/tags/html_form_tag_action.cfm" is the server-side script that processes the form. To learn more, check out the Add Comments to Website page. Adding Color & PicturesYou can also change the color of your comment box, add borders, and add a background picture. Here are some examples: Send Email from your Comment Box!You can use your comment box to create a feedback form that sends you an email every time someone clicks the submit button. All you need to do is change the value of the Here's an example of what I mean. This page provides you with all the code you need to create a feedback form. Further DetailsThis info aims to help you understand the above code, which consists mainly of HTML tags (or HTML elements). The form tags contain other tags nested within them. These other tags define the actual form elements that appear within the form - such as the actual comment box (otherwise known as the "textarea"). You can use the following template as a basis for your HTML comment box code. Simply fill in the blanks or remove uneeded attributes. 1. The <form> TagFor an explanation of all the attributes, see the HTML form tag specifications.
2. The <textarea> TagThis tag defines the comment box within the form. For an explanation of all the attributes, see the HTML textarea tag specifications.
3. The <input> TagThis tag defines input fields within the form and can be used for defining the submit button of the comment box. For an explanation of all the attributes, see the HTML input tag specifications.
|
Sponsored Links
Need Website Content?
Get unique, quality digital content for your website.
|