html checked

Hello coders! In this article I have shared the details about “html checked”. Okay, let’s move on to the tutorial.

html checked

<!-- Add checked tag  -->
<input type="checkbox" name="vehicle3" value="Boat" checked>
<input type="checkbox" name="agreement" value="ok" checked>
<label for="ok">I agree</label>
<input type="checkbox" name="vehicle3" value="Boat" checked>

#If if helps you give it Thumbs up
   <input type="checkbox" checked=props.completed /> 

#for props completed is true/false , hence if completed is false then checkbox will not be clicked .
# if the checkbox is true it will be will be checked

Final Thoughts

I hope this tutorial helps you to know about “html checked”. If you have any queries regarding this article please let us know via the comment section. Share this article with your friends and family via social networks.

Hi, I'm Ranjith a full-time Blogger, YouTuber, Affiliate Marketer, & founder of Coder Diksha. Here, I post about programming to help developers.

Share on:

Leave a Comment