How to select a radio button by default? [duplicate] in html

  HTML & CSS

Email

In html5 its have more update for input element  

we want checkbox input element default checked for that we doing javascript or any other library code. but now not need to go there. html code enough for that. 

examples 

  1. Subscribe Newsletter Defaultly 
<input type='radio' id='chkNo' name='chk'  value='Connect' checked='checked'>
<input type='radio' id='chkNo' name='chk'  value='Connect' checked>
Spread the Code

Leave a Reply

avatar

This site uses Akismet to reduce spam. Learn how your comment data is processed.

  Subscribe  
Notify of