Java学习第三天160818 表单 框架 下拉列表等
rect 矩形 ?src 引用 width寬 ?height ?高 ?iframe ?網(wǎng)頁內(nèi)嵌式小窗口(成對出現(xiàn))
auto ?自動的 ?frameborder ?邊線 ?scrolling ?滾動條(一般不用)
from ?形狀
<input type="text" /> 文本框
<input type="password"/>密碼框
<textarea name="" id="" cols=""(規(guī)定多少字符)rows=""(規(guī)定幾行的高度)/></textarea>(成對出現(xiàn))文本域 ? 應用列如 : 說說
<input type=hidden/> 隱藏域 ?一般不用 ? ? ? ? ? ??
常常用到的字符placehdder ?顯示的提示
按鈕
subimit ?提交按鈕 <input type="subimit" name="“ id=”“ disabled="disabled"(默認改不了的 ?使按鈕失效)value="在IE中顯示的內(nèi)容”/>
button ?普通按鈕 <……………………”button"……/>
image ?圖片按鈕 ?<……………………"image"……/>
選擇輸入
單選按鈕組<input type="radio"(選擇了就取消不了)checked="checked"(被選中 ?設(shè)為默認選項)value=""/>
復選按鈕組<input type="checkbox"……/>
文件上傳 <input type="file" name="" id=""/>
下拉列表框
<select name="" id=""size="(一般為1)">
<option value=“A” 加 selected 可設(shè)為默認>文字</option>
<option value="A">文字</option>
</select>成對出現(xiàn)
框架 ?frameset
用frameset時去掉body 相當于代替body
<frameset rows="100,*"framebordor="no"(意思是去掉分割線)>這是上下分行 ?第一行的像素為100,*代表剩下的為第二行,rows換成cols為左右分行
<frame scr="超鏈接的頁面地址“noresize="noresize"(禁止調(diào)整新窗口的大小)>
<frame scr=…………可以多個使用,scrolling="no"(取消滾動條)>
</frameset>成對使用
在原來的頁面嵌入小窗口顯示別的頁面
<iframe src="鏈接其他頁面的地址” width="" height="" frameborder="0" scrolling="no"></iframe>
frameborder 是邊線的意思 ?值一般設(shè)為0 ? ?scrolling 滾動條
?
下面為今天課程的聯(lián)系題
設(shè)計郵箱注冊界面
轉(zhuǎn)載于:https://www.cnblogs.com/chouji717/p/5784101.html
總結(jié)
以上是生活随笔為你收集整理的Java学习第三天160818 表单 框架 下拉列表等的全部內(nèi)容,希望文章能夠幫你解決所遇到的問題。
- 上一篇: 转 列式存储
- 下一篇: 怎样用hibernate验证登陆界面的用