HTML:- button autofocus

<!DOCTYPE html> 
<html> 
 
<head> 
 <meta name="viewport" content="width=device-width, initial-scale=1"> 
 <title>Auto Focus on button</title> 
</head> 
 
<body> 
 
 <button>Test Button</button> 
 <button autofocus="true">Test Button Focused</button> 
 
</body> 
 
</html>



Used of:-

Button


  • Button can be created as "input type" and simply in "button" tag
  • Also we can define the type as submit button or not.
 
HTML:- button autofocus HTML:- button autofocus Reviewed by Network security on April 30, 2019 Rating: 5

No comments:

Useful Information

Powered by Blogger.