Make the text next to a checkbox or radio button in HTML clickable, so the form is easier to use.
Please consider supporting my channel:
☕ https://ko-fi.com/davehollingworth
In this video you'll learn how to use HTML label elements to make the text next to a radio button or checkbox clickable. This will make the form easier to use and a better experience for your users. It will also make the form more accessible for visitors using assistive technologies.
00:00 Introduction
00:10 Non-clickable controls
00:24 First label syntax
00:33 Clickable radios
00:38 Alternative label syntax
00:53 Clickable checkbox
#HTML #forms #shorts