Deprecated: mysql_connect(): The mysql extension is deprecated and will be removed in the future: use mysqli or PDO instead in /home/myscript/public_html/classes/classdb.php on line 42
FREE JavaSCRIPT - HTML tag validation data in textbox validate form

HTML tag Validation

This java script function will help you to validate the html data typed into the text box. It prints whether the data typed into the form is valid or not.


  • The javascript function will help you to find whether data entered into textbox has valid HTML tags(<>) or not.
  • This can also be used for form validation, to check whether the form has valid html tag or not.
  • Just copy the code in to your page and use it.


Enter HTML data


<!--Script by>
<!-- more scripts @ -->
<script type="text/javascript">
function validate()
alert("No HTML Tag");
alert("Contains HTML Tag");
<input type=text name=exp id=exp />
<input type=button value=Enter onClick="validate()">
<!-- Script by -->
  • Release Date - 02-01-2007
  • Get free version without ©copyright link for just $10/-
  • For customization of this script or any script development, mail to


  • Just copy the code and use it for free.


Related Scripts

Free Javascript Scripts

Ask Questions

Ask Question