# 6/8 HTML ###### tags: `html完整` 心智圖: https://gitmind.com/app/docs/moffka4g (因為沒來的及全寫所以大家如果有更正確地或我沒有寫上的歡迎幫忙補) Div vs Section vs Article 表單的元素介紹 https://developer.mozilla.org/en-US/docs/Web/HTML/Element/input ### 表單 ``` <body> <form action=""> <label for="user_name">名稱</label> <input type="text" id="user_name"> </form> <form action=""> <label> 名稱: <input type="text"> </label> </form> </body> ``` * Lable 兩種基本寫法,注意for屬性使用* * for 一定要跟id 對應 * Type 屬性影響到虛擬鍵盤變化
×
Sign in
Email
Password
Forgot password
or
By clicking below, you agree to our
terms of service
.
Sign in via Facebook
Sign in via Twitter
Sign in via GitHub
Sign in via Dropbox
Sign in with Wallet
Wallet (
)
Connect another wallet
New to HackMD?
Sign up