Quantcast
Channel: Programming Forums
Viewing all articles
Browse latest Browse all 51036

Html Problem In net beans

$
0
0
Hello friends iam making a simple servlet in netbeans ide and i have made a html form
&lt!--
To change this template, choose Tools | Templates
and open the template in the editor.
-->
<!DOCTYPE html>
<html>
    <head>
        <title></title>
        <style type="text/css">
          #button
          {
            color:red;  
          }
          </style>
    </head>
    <body>
        <form method="get" action="http://localhost:8080/Servlet/FormServlet"> 
           UserName: <input type="text" name="username">  </input>
           Password: <input type="password" name="password"> </input>
           <input type="submit" name="submit" value="submit" id="button"> 
            
 
        
        
        
        </form>
    </body>
</html>





when i use a closing tag </input> html editor give error stray ending tag only in </input> while there is no problem in all other closing tag

Viewing all articles
Browse latest Browse all 51036

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>