帶表單的導(dǎo)航條
<form action="##" class="navbar-form navbar-left" role="search">
? ? ? ? ?<input type="text" class="form-control" placeholder="請輸入關(guān)鍵詞">
? ? ? ? ?<button type="submit" class="btn btn-default">搜索</button>
? ? ?</form>
誰能給解釋下,這段都是什么意思
2017-05-21
謝謝大家
2017-05-17
建議學(xué)習(xí)下html基礎(chǔ)知識(shí)再來學(xué)習(xí)bootstrap
2017-05-08
表單提交地址,“##”是指提交到當(dāng)前頁,如果你在當(dāng)前項(xiàng)目中寫了另一個(gè)一個(gè)網(wǎng)頁叫“hello.html”,并且在當(dāng)前頁面把 action=“hello.html”,那么點(diǎn)擊button這個(gè)提交按鈕后就會(huì)跳轉(zhuǎn)到hello.html這個(gè)頁面。
2017-04-18
action="##" ?這個(gè)是什么意思呢,設(shè)定action的作用是什么
2017-04-15
提供了一個(gè)“navbar-form”,在容器中放置一個(gè)帶有navbar-form類名的表單
“navbar-left”讓表單左浮動(dòng),里面有兩個(gè)標(biāo)簽<input>:輸入標(biāo)簽和<button>