Impact of Gen-AI on IT Jobs - Growth Mindset Show
x
C# Corner
Tech
News
Videos
Forums
Jobs
Books
Events
More
Interviews
Live
Learn
Training
Career
Members
Blogs
Challenges
Certification
Contribute
Article
Blog
Video
Ebook
Interview Question
Collapse
Feed
Dashboard
Wallet
Learn
Achievements
Network
Refer
Rewards
SharpGPT
Premium
Contribute
Article
Blog
Video
Ebook
Interview Question
Register
Login
.NET
ADO.NET
Android
ASP.NET
C#
Databases & DBA
Design Patterns & Practices
iOS
Java
OOP/OOD
SharePoint
Software Testing
Web Development
WPF
View All
1
Reply
Explain autofocus and autocomplete Attribute?
Payal Ojha
13y
1.2k
0
Reply
Delete Row
Delete Column
Insert Link
×
Insert
Cancel
Embed YouTube Video
×
Width (%)
Height (%)
Insert
Cancel
Table Options
×
Rows
Columns
First row as header
Create Table
Insert Image
×
Selected file:
Alignment
Left
Center
Right
Select an image from your device to upload
Upload to Server
Cancel
Submit
The Autocomplete attribute is a new attribute in the HTML5. The function of the attribute is to enable or disable the autocomplete form element and input. Attribute Valueson : Default / value Standard. Browser will automatically fill in values ??based on values ??previously entered by users. off : your browser does not automatically completes entries into form fields.
This other example shows how you can isolate a single field to prevent autocomplete:
Autofocus AttributeSpecifies that an element must receive focus automatically when the page loads. In the following example, the input element will focus once the page is loaded.< input maxlength = “255? name = “search” value = “” “autofocus” >
prasanta pradhan
10y
0
HTML 5 New Form Attributes
Syntax of autofocus and autocomplete Attribute
Message