公告:魔扣目錄網(wǎng)為廣大站長提供免費(fèi)收錄網(wǎng)站服務(wù),提交前請做好本站友鏈:【 網(wǎng)站目錄:http://www.430618.com 】, 免友鏈快審服務(wù)(50元/站),
我們使用
<fieldse>…..</fieldset>
登錄后復(fù)制
以下是使用<legend>標(biāo)簽在<fieldset>標(biāo)簽內(nèi)對HTML表單中的數(shù)據(jù)進(jìn)行分組的示例 –
<!DOCTYPE html> <html> <head> <meta charset="UTF-8"> <meta name="description" content="meta tag in the web document"> <meta name="keywords" content="HTML,CSS"> <meta name="author" content="lokesh"> <meta name="viewport" content="width=device-width, initial-scale=1.0"> </head> <body> <form> <fieldset> <legend>Employee Details</legend> Employee Name<br> <input type="text" name="Ename"> <br> Employee ID<br> <input type="text" name="Eid"> <br> Employee Address<br> <input type="text" name="Eid"> <br> </fieldset> </form> </body> </html>
您可以嘗試運(yùn)行以下代碼來對HTML表單中的數(shù)據(jù)進(jìn)行分組 –
<!DOCTYPE html> <html> <body> <form> <fieldset> <legend>Student Information:</legend> Student Name:<br> <input type="text" name="sname"> <br> Student Subject:<br> <input type="text" name="ssubject"> <br> </fieldset> </form> </body> </html>
以上就是我們?nèi)绾卧贖TML表單中對數(shù)據(jù)進(jìn)行分組?的詳細(xì)內(nèi)容,更多請關(guān)注www.92cms.cn其它相關(guān)文章!
網(wǎng)友整理
注冊時(shí)間:
網(wǎng)站:5 個(gè) 小程序:0 個(gè) 文章:12 篇
網(wǎng)站
小程序
文章
會員
數(shù)獨(dú)一種數(shù)學(xué)游戲,玩家需要根據(jù)9
您可以通過答題星輕松地創(chuàng)建試卷
各種考試題,題庫,初中,高中,大學(xué)四六
記錄運(yùn)動步數(shù),積累氧氣值。還可偷
每日養(yǎng)生,天天健康
通用課目體育訓(xùn)練成績評定