Friday, 16 March 2018

comment box in html coding with example

comment box in html coding with example

Comment box is also an essential part for your website, learn here how to add the coding to show the box in your webpage. This is written as textarea in HTML5 :
See the coding in HTML5 for the textarea given below and the output which will be shown on the live website in the browser :

textarea in html or comment box
textarea in HTML


<html>
<head>
<title>My Website</title>
</head>
<body bgcolor="chalk">
<form>
<legend>Contact us : </legend>
<p><label>Your email</label>
<input type="email" /></p>
<p>
<label>Password</label>
<input type="password" /></p>
<p>
<label>Comments</label>
<textarea></textarea></p>
<input type="submit" value="Click Here to Submit" />
</fieldset>
</form>
</body>
</html>

Please comment for any problem in comment box.

No comments:

Post a Comment