Answers for "how to get input from user in html"

0

how to take input from user in html

<form>
  
  <!-- We can have various types of inputs like: Email, Plain Text, Date etc. -->
  <input type="email" name="user_email" placeholder="Your Email">
  <input type="text" name="user_description" placeholder="Your Description">
  <input type="date" name="current_date" placeholder="Current Date">
  
</form>
Posted by: Guest on May-26-2021
0

get input from user

// to get input from user
Scanner.scan= new scanner (System.in);
		// to input some integers
		int myNums =scan.nextInt();
		// to input strings
		String myWords =scan.nextline();
Posted by: Guest on September-26-2021

Code answers related to "how to get input from user in html"

Browse Popular Code Answers by Language