HTML5產(chǎn)品訂單代碼
<!DOCTYPE html> <html> <head> <title>HTML5產(chǎn)品訂單頁面</title> <meta charset="UTF-8"> <meta name="viewport" content="width=device-width, initial-scale=1.0"> </head> <body> <h1>HTML5產(chǎn)品訂單頁面</h1> <form> <label for="product_name">產(chǎn)品名稱:</label> <input type="text" id="product_name" name="product_name" required><br><br> <label for="quantity">數(shù)量:</label> <input type="number" id="quantity" name="quantity" min="1" max="100"><br><br> <label for="color">顏色:</label> <input type="text" id="color" name="color"><br><br> <label for="size">尺寸:</label> <select id="size" name="size"> <option value="S">S</option> <option value="M">M</option> <option value="L">L</option> <option value="XL">XL</option> </select><br><br> <fieldset> <legend>付款方式:</legend> <input type="radio" id="credit_card" name="payment_method" value="Credit card"> <label for="credit_card">信用卡</label><br> <input type="radio" id="paypal" name="payment_method" value="Paypal"> <label for="paypal">PayPal</label><br><br> </fieldset> <input type="submit" value="提交訂單"> </form> </body> </html>
上一篇mysql中插入一條日期
下一篇顯示表格線條 css