Explore a little.C ProgrammingC++HTMLVisual BasicSystem AnalysisE-CommerceBCA Notes
LEARN SOMETHING NEW

Autofocus button in Html

Read4BCA learning libraryFree access

Autofocus button in Html

Button

Button can be created as "input type" and simply in "button" tag


Example:

<!DOCTYPE html>
<html>
<head>
<title>Button</title>
</head>

<body>
<button>Test button</button>
<button autofocus="true">Test button Focused</button>
</body>
</html>

Output of this code will look like this:

Autofocus button in Html example

This lesson preserves the original Read4BCA material. Some programming examples use older tools and syntax. View original page.