|
HTML Home
Create a Website HTML TutorialHTML Tutorial HomeAbout HTML Getting Started HTML Elements HTML Formatting HTML Attributes HTML Colors HTML Links HTML Images HTML Meta Tags HTML Comments HTML Forms HTML Tables HTML Image Maps HTML Frames HTML Entities HTML Layouts HTML Styles HTML Scripts HTML Website Templates Website Hosting Summary HTML Code GeneratorsHTML Code GeneratorHTML Table Generator Marquee Generator Music Code Generator HTML Text Generator Text Box Generator Free HTML CodesHTML Background CodeHTML Comment Box Codes HTML Scroll Box Codes HTML Font Codes HTML Picture Codes HTML Marquee Code HTML Music Codes HTML Templates More Codes... HTML ReferenceHTML ExamplesComplete HTML Tag List Complete HTML 5 Tag List HTML Special Characters Hex Color Codes HTML Help FREE Hosting!With every domain name you register with ZappyHost, you get FREE hosting.PLUS you get:
|
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.
Enjoy this website?
Oh, and thank you for supporting Quackit! |
Need Content for your Website?Get unique, quality digital content for your website. You can even earn money by reselling it!Includes:
|