Тёмный

HTML Tutorial - The 'for' attribute on labels and input fields 

dcode
Подписаться 132 тыс.
Просмотров 29 тыс.
50% 1

A quick video today on the 'for' attribute within HTML. We take a look at what it's used for and how exactly you would implement it.
When I first started learning HTML I would always incorrectly use this attribute alongside the 'name' attribute which was clearly incorrect.
Support me on Patreon:
/ dcode - with enough funding I plan to develop a website of some sort with a new developer experience!
For your reference, check this out:
www.w3schools.com/tags/att_fo...
Follow me on Twitter @dcode!
If this video helped you out and you'd like to see more, make sure to leave a like and subscribe to dcode!

Опубликовано:

 

22 авг 2018

Поделиться:

Ссылка:

Скачать:

Готовим ссылку...

Добавить в:

Мой плейлист
Посмотреть позже
Комментарии : 39   
@thomascarlton82
@thomascarlton82 3 года назад
Most people online don't know how to explain this in layman's terms. You killed it bro, thx for this
@victorrivas2350
@victorrivas2350 2 года назад
This was a very, very AWESOME tutorial! Short and very well detailed so that a person new to coding can follow and understand each step of the way!
@muthukumarnp8053
@muthukumarnp8053 Год назад
Thank you. Precise and clear explanation.
@msgesus4518
@msgesus4518 10 месяцев назад
Also worth mentioning it's always important to have label associated for every input field for people who use a screen reader to navigate the web. Otherwise they would not know what the input they are on is for. This may block or be a huge annoyance to these users from completing the actions they are trying to complete.
@heavyheavyTea
@heavyheavyTea 9 месяцев назад
Great point! Thank you for including differently-abled people in the explanation. It's important to keep screen readers and accessibility software in mind when creating code.
@visheshgupta4990
@visheshgupta4990 Год назад
Thanks for this Useful quick video
@Aziz-kw6ct
@Aziz-kw6ct Год назад
thanks, this video makes it easier for me to understand it.
@wgnwBash
@wgnwBash 8 месяцев назад
Thank you so much bro. Idk why ppl just don’t say what it’s for lol thanx
@statesman6379
@statesman6379 3 года назад
Trying to Google "What is for for?" was a hard search to find. Thanks!
@mumarkhan1898
@mumarkhan1898 3 года назад
😂😂😂😂 yep so true I get into the same situation when started to do that.....
@VuongPianoSolo
@VuongPianoSolo 4 года назад
thanks for your video, it's saved my day.
@dcode-software
@dcode-software 4 года назад
No problem 👍
@stevejobs5919
@stevejobs5919 3 года назад
good shit brotha
@jasonmwenyo8621
@jasonmwenyo8621 4 года назад
Thank you!
@ilankir9805
@ilankir9805 7 месяцев назад
Thanks for sharing ...
@Sanjana_Trishan
@Sanjana_Trishan 3 месяца назад
Thank you bro
@CryptoTech2
@CryptoTech2 2 месяца назад
thank you so much
@user-lb7wz7ki3d
@user-lb7wz7ki3d 3 месяца назад
thank you bro
@kemoonki1083
@kemoonki1083 Год назад
thanks dude
@VanLutch22
@VanLutch22 Год назад
Thank you
@hund5553
@hund5553 Год назад
gracias por la explicacion
@user-nv9cz6sb1g
@user-nv9cz6sb1g Год назад
Greattttttttttttttttttttttt videoooooooooooooooo
@wgnwBash
@wgnwBash 8 месяцев назад
Can you explain why you have a class and action attribute in the form element?
@nestaho8399
@nestaho8399 3 года назад
can the and syntax interchange?
@moonhub933
@moonhub933 Год назад
Great, can you also explain what is the name attribute used for?
@ahmedusama152
@ahmedusama152 2 года назад
Theme name?
@arishernandez3290
@arishernandez3290 4 года назад
But you still need to have a name attribute if you have more then one option to select. correct?
@and6sdf
@and6sdf 3 года назад
yes, mulitple option in one group should have same "name" attribute.
@AdrianoJolivesi
@AdrianoJolivesi Год назад
As a newbie career-changing driven Dude, I appreciate you 😊
@Mohammedrabeeh-fg1ww
@Mohammedrabeeh-fg1ww Год назад
thanks
@sushilgyawali7880
@sushilgyawali7880 3 года назад
thank you .
@dcode-software
@dcode-software 3 года назад
Welcome
@jaiwardhanjoshi6043
@jaiwardhanjoshi6043 3 года назад
thx
@gaberondon8757
@gaberondon8757 4 года назад
Hey dcode, what is the best "platform' to practice writing css and html? What are you using in this video? Can I use it on ios?
@dcode-software
@dcode-software 4 года назад
Probably a web browser and VSCode haha - if you're talking about servers, just use XAMPP
@gaberondon8757
@gaberondon8757 4 года назад
@@dcode-software Like what is says in the corner of your screen haha.
@jugnuguria2360
@jugnuguria2360 2 года назад
video about form attribute
@kartik0976
@kartik0976 Год назад
how to use for for a class instead of an id
@ahmedusama152
@ahmedusama152 2 года назад
Theme name please
Далее
A Guide To ARIA and HTML
7:32
Просмотров 15 тыс.
5 important HTML concepts for beginners
14:37
Просмотров 116 тыс.
Input & Forms | HTML | Tutorial 14
9:09
Просмотров 78 тыс.