Telegram Group & Telegram Channel
⚙️ Что такое атрибут autofocus в HTML и зачем он используется?

Атрибут autofocus автоматически устанавливает фокус на поле формы при загрузке страницы.

Пользователю не нужно кликать — курсор сразу готов к вводу.

➡️ Пример:

<form>
<label>
Ваше имя:
<input type="text" autofocus>
</label>
<button type="submit">Отправить</button>
</form>


🗣️ Почему полезно:

• Улучшает UX — пользователь сразу видит, куда вводить
• Удобен для авторизации, поиска, чатов
• Работает с <input>, <textarea> и <select>

autofocus делает взаимодействие с формой быстрее и интуитивнее.

CodeBase | Frontend | #Основы
Please open Telegram to view this post
VIEW IN TELEGRAM



tg-me.com/codebase_frontend/697
Create:
Last Update:

⚙️ Что такое атрибут autofocus в HTML и зачем он используется?

Атрибут autofocus автоматически устанавливает фокус на поле формы при загрузке страницы.

Пользователю не нужно кликать — курсор сразу готов к вводу.

➡️ Пример:

<form>
<label>
Ваше имя:
<input type="text" autofocus>
</label>
<button type="submit">Отправить</button>
</form>


🗣️ Почему полезно:

• Улучшает UX — пользователь сразу видит, куда вводить
• Удобен для авторизации, поиска, чатов
• Работает с <input>, <textarea> и <select>

autofocus делает взаимодействие с формой быстрее и интуитивнее.

CodeBase | Frontend | #Основы

BY CodeBase | Frontend


Warning: Undefined variable $i in /var/www/tg-me/post.php on line 283

Share with your friend now:
tg-me.com/codebase_frontend/697

View MORE
Open in Telegram


telegram Telegram | DID YOU KNOW?

Date: |

Newly uncovered hack campaign in Telegram

The campaign, which security firm Check Point has named Rampant Kitten, comprises two main components, one for Windows and the other for Android. Rampant Kitten’s objective is to steal Telegram messages, passwords, and two-factor authentication codes sent by SMS and then also take screenshots and record sounds within earshot of an infected phone, the researchers said in a post published on Friday.

Mr. Durov launched Telegram in late 2013 with his brother, Nikolai, just months before he was pushed out of VK, the Russian social-media platform he founded. Mr. Durov pitched his new app—funded with the proceeds from the VK sale—less as a business than as a way for people to send messages while avoiding government surveillance and censorship.

telegram from ru


Telegram CodeBase | Frontend
FROM USA