Showing posts with label HTML 5. Show all posts
Showing posts with label HTML 5. Show all posts

Sunday, 3 February 2013

Set maxlength in Html Textarea

simple way to do maxlength for textarea in html4 is:


<textarea cols="60" rows="5" onkeypress="if (this.value.length > 100) { return false; }"></textarea>

Change the "100" to however many characters you want
Read More

Wednesday, 30 January 2013

HTML Comment


<!DOCTYPE html>
<html>
<body>

<!--This is a comment. Comments are not displayed in the browser-->
<p>This is a paragraph.</p>

</body>
</html>

Read More

Blogger

Related Posts Plugin for WordPress, Blogger...