运行 ❯
获取您的
自有
网站
×
更改方向
保存代码
更改主题,暗/亮
前往 Spaces
<!DOCTYPE html> <html> <body> <h1>The label for attribute</h1> <p>Click on one of the text labels to toggle the related radio button:</p> <form action="/action_page.php"> � <input type="radio" id="html" name="fav_language" value="HTML"> � <label for="html">HTML</label><br> � <input type="radio" id="css" name="fav_language" value="CSS"> � <label for="css">CSS</label><br> � <input type="radio" id="javascript" name="fav_language" value="JavaScript"> � <label for="javascript">JavaScript</label><br><br> <input type="submit" value="Submit"> </form> </body> </html>