第七色在线视频,2021少妇久久久久久久久久,亚洲欧洲精品成人久久av18,亚洲国产精品特色大片观看完整版,孙宇晨将参加特朗普的晚宴

為了賬號(hào)安全,請(qǐng)及時(shí)綁定郵箱和手機(jī)立即綁定

怎么將密碼和后面空白框在一行?

???????????????????????????????? <!DOCTYPE HTML>
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
<title>表單標(biāo)簽</title>
</head>
<body>
<form method="post" action="save.php">
???? <tr> <label for="username">用戶(hù)名:</label>
????? <input type="text"? name="username" id="username" value="" /></tr>
???? <tr><label for="pass">密碼:</label>
????? <input type="password"? name="pass" id="pass" value="" />? ?
????? <input type="submit" value="確定"? name="submit" />
????? <input type="reset" value="重置" name="reset" />
</form> ?
</body>
</html>

正在回答

8 回答

<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
<title>表單標(biāo)簽</title>
</head>
<body>
<form method="post" action="save.php">
<label for="username">用戶(hù)名:</label>
<input type="text"? name="username" id="username" value="" /><br/>
<label for="pass">密 碼:</label>
<input type="password"? name="pass" id="pass" value="" />? ?
<input type="submit" value="確定"? name="submit" />
<input type="reset" value="重置" name="reset" />
</form> ?
</body>
</html>

這樣比較好看吧 ,,哪有密碼和賬號(hào)輸入在一行的。 <tr>并沒(méi)有用吧。密碼之間的空格是全角空格。

0 回復(fù) 有任何疑惑可以回復(fù)我~
#1

偉大的陳老師丨

你這個(gè)本來(lái)就在一行啊。打開(kāi)就可以看見(jiàn)了
2016-05-11 回復(fù) 有任何疑惑可以回復(fù)我~

可以用<br />強(qiáng)制換行;

也可以用<table>,將密碼及其空白框放一個(gè)<tr></tr>里面,但密碼和空白框需放各自<td>里,不能漏。

不明白你的代碼里面的<tr>是干啥用的,在這段代碼里沒(méi)看出什么意義的!

0 回復(fù) 有任何疑惑可以回復(fù)我~

在密碼用<br />換行

0 回復(fù) 有任何疑惑可以回復(fù)我~

?<!DOCTYPE HTML>

<html>

<head>

<meta http-equiv="Content-Type" content="text/html; charset=utf-8">

<title>表單標(biāo)簽</title>

</head>

<body>

<form method="post" action="save.php">

? ? ?<tr> <label for="username">用戶(hù)名:</label>

? ? ? <input type="text" ?name="username" id="username" value="" /></tr><br>

? ? ?<tr><label for="pass">密碼:</label>

? ? ? <input type="password" ?name="pass" id="pass" value="" /> ??

? ? ? <input type="submit" value="確定" ?name="submit" />

? ? ? <input type="reset" value="重置" name="reset" />

</form> ?

</body>

</html>

加<br>

0 回復(fù) 有任何疑惑可以回復(fù)我~

<html>

<head>

<meta http-equiv="Content-Type" content="text/html; charset=utf-8">

<title>表單標(biāo)簽</title>

</head>

<body>

<form method="post" action="save.php">

? ? ?<label for="username">用戶(hù)名:

? ? ?<input type="text" ?name="username" id="username" value="" /></br></br>

? ? ?<label for="pass">密&nbsp&nbsp碼:</label>

? ? ?<input type="password" ?name="pass" id="pass" value="" /> ??

? ? ? <input type="submit" value="確定" ?name="submit" />

? ? ? <input type="reset" value="重置" name="reset" />

</form> ?

</body>

</html>


0 回復(fù) 有任何疑惑可以回復(fù)我~

本來(lái)就是一行 你全屏看就知道了

0 回復(fù) 有任何疑惑可以回復(fù)我~

? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ?<!DOCTYPE HTML>
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
<title>表單標(biāo)簽</title>
</head>
<body>
<form method="post" action="save.php">
???? <tr> <label for="username">用戶(hù)名:</label>
????? <input type="text"? name="username" id="username" value="" /></tr>
???? <tr><label for="pass">密碼:</label>
????? <input type="password"? name="pass" id="pass" value="" /> ?<br>?
????? <input type="submit" value="確定"? name="submit" />
????? <input type="reset" value="重置" name="reset" />
</form> ?
</body>
</html>

0 回復(fù) 有任何疑惑可以回復(fù)我~

這個(gè)要用css設(shè)置寬度了。我想如果你是在練習(xí),那你調(diào)整一下瀏覽器的寬度,是不是窗口寬度不夠才換行了。

1 回復(fù) 有任何疑惑可以回復(fù)我~

舉報(bào)

0/150
提交
取消

怎么將密碼和后面空白框在一行?

我要回答 關(guān)注問(wèn)題
微信客服

購(gòu)課補(bǔ)貼
聯(lián)系客服咨詢(xún)優(yōu)惠詳情

幫助反饋 APP下載

慕課網(wǎng)APP
您的移動(dòng)學(xué)習(xí)伙伴

公眾號(hào)

掃描二維碼
關(guān)注慕課網(wǎng)微信公眾號(hào)