//index.html <!DOCTYPE html> <html lang="en"> <head> <meta charset="utf-8"> <link rel="stylesheet" href="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.7/css/bootstrap.min.css"> <link href="//netdna.bootstrapcdn.com/font-awesome/4.0.0/css/font-awesome.css" rel="stylesheet"> <script src="https://ajax.googleapis.com/ajax/libs/jquery/3.3.1/jquery.min.js"></script> <script src="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.7/js/bootstrap.min.js"></script> </head> <body> <div style="margin-bottom:100px;"> </div> <div class="container"> <div class="row"> <div class="col-lg-12 pull-down-lg"> <h2>Pan Card Format Validation , Simple by Using Javascript . </h2> <hr /> </div> <div class="col-sm-6"> <div class="form-group"> <label for="name">Enter Pan Card Number:</label> <input class="form-control" type="text" name="name" id="name" onKeyUp="pancardValidate(this.value)" required /> <span id="response"></span> </div> </div> </div> </div> <!-- /container --> </body> </html>