主頁
HTML
HTML 輸入型別
Tryit: input type = file
執行 ❯
建立您
自己的
網站
×
改變方向
儲存程式碼
更改主題,暗/亮
前往 Spaces
<!DOCTYPE html> <html> <body> <h1>File upload</h1> <p>Show a file-select field which allows a file to be chosen for upload:</p> <form action="/action_page.php"> <label for="myfile">Select a file:</label> <input type="file" id="myfile" name="myfile"><br><br> <input type="submit" value="Submit"> </form> </body> </html>