코드:
결과보기 »
<!DOCTYPE html> <html lang="ko"> <head> <meta charset="UTF-8"> <title>HTML input tag - checked attribute</title> </head> <body> <form action="/examples/media/action_target.php" method="get"> 여러분이 가장 좋아하는 과일을 고르세요.<br> <input type="radio" name="fruit" value="strawberry"> 딸기<br> <input type="radio" name="fruit" value="watermelon"> 수박<br> <input type="radio" name="fruit" value="banana" checked> 바나나<br> <input type="submit"> </form> </body> </html>