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: |

China’s stock markets are some of the largest in the world, with total market capitalization reaching RMB 79 trillion (US$12.2 trillion) in 2020. China’s stock markets are seen as a crucial tool for driving economic growth, in particular for financing the country’s rapidly growing high-tech sectors.Although traditionally closed off to overseas investors, China’s financial markets have gradually been loosening restrictions over the past couple of decades. At the same time, reforms have sought to make it easier for Chinese companies to list on onshore stock exchanges, and new programs have been launched in attempts to lure some of China’s most coveted overseas-listed companies back to the country.

Telegram Gives Up On Crypto Blockchain Project

Durov said on his Telegram channel today that the two and a half year blockchain and crypto project has been put to sleep. Ironically, after leaving Russia because the government wanted his encryption keys to his social media firm, Durov’s cryptocurrency idea lost steam because of a U.S. court. “The technology we created allowed for an open, free, decentralized exchange of value and ideas. TON had the potential to revolutionize how people store and transfer funds and information,” he wrote on his channel. “Unfortunately, a U.S. court stopped TON from happening.”

telegram from ua


Telegram CodeBase | Frontend
FROM USA