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

Атрибут required делает поле формы обязательным для заполнения.

Если пользователь попытается отправить форму с пустым таким полем — браузер покажет предупреждение.

➡️ Пример:

<form>
<label>
Email:
<input type="email" required>
</label>
<button type="submit">Отправить</button>
</form>


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

• Проверка происходит прямо в браузере, без JS
• Обеспечивает базовую валидацию «из коробки»
• Работает для <input>, <textarea>, <select>

required — простой способ сделать формы более устойчивыми и понятными для пользователя.

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



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

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

Атрибут required делает поле формы обязательным для заполнения.

Если пользователь попытается отправить форму с пустым таким полем — браузер покажет предупреждение.

➡️ Пример:

<form>
<label>
Email:
<input type="email" required>
</label>
<button type="submit">Отправить</button>
</form>


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

• Проверка происходит прямо в браузере, без JS
• Обеспечивает базовую валидацию «из коробки»
• Работает для <input>, <textarea>, <select>

required — простой способ сделать формы более устойчивыми и понятными для пользователя.

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/664

View MORE
Open in Telegram


telegram Telegram | DID YOU KNOW?

Date: |

Telegram is riding high, adding tens of million of users this year. Now the bill is coming due.Telegram is one of the few significant social-media challengers to Facebook Inc., FB -1.90% on a trajectory toward one billion users active each month by the end of 2022, up from roughly 550 million today.

The messaging service and social-media platform owes creditors roughly $700 million by the end of April, according to people briefed on the company’s plans and loan documents viewed by The Wall Street Journal. At the same time, Telegram Group Inc. must cover rising equipment and bandwidth expenses because of its rapid growth, despite going years without attempting to generate revenue.

telegram from tw


Telegram CodeBase | Frontend
FROM USA