Java学习第三天160818 表单 框架 下拉列表等

rect 矩形  src 引用 width宽  height  高  iframe  网页内嵌式小窗口(成对出现)

auto  自动的  frameborder  边线  scrolling  滚动条(一般不用)

from  形状

<input type="text" /> 文本框

<input type="password"/>密码框

<textarea name="" id="" cols=""(规定多少字符)rows=""(规定几行的高度)/></textarea>(成对出现)文本域   应用列如 : 说说

<input type=hidden/> 隐藏域  一般不用             

常常用到的字符placehdder  显示的提示

按钮

subimit  提交按钮 <input type="subimit" name="“ id=”“ disabled="disabled"(默认改不了的  使按钮失效)value="在IE中显示的内容”/>

button  普通按钮 <……………………”button"……/>

image  图片按钮  <……………………"image"……/>

选择输入

单选按钮组<input type="radio"(选择了就取消不了)checked="checked"(被选中  设为默认选项)value=""/>

复选按钮组<input type="checkbox"……/>

文件上传 <input type="file" name="" id=""/>

下拉列表框

<select name="" id=""size="(一般为1)">

<option value=“A” 加 selected 可设为默认>文字</option>

<option value="A">文字</option>

</select>成对出现

框架  frameset

用frameset时去掉body 相当于代替body

<frameset rows="100,*"framebordor="no"(意思是去掉分割线)>这是上下分行  第一行的像素为100,*代表剩下的为第二行,rows换成cols为左右分行

<frame scr="超链接的页面地址“noresize="noresize"(禁止调整新窗口的大小)>

<frame scr=…………可以多个使用,scrolling="no"(取消滚动条)>

</frameset>成对使用

在原来的页面嵌入小窗口显示别的页面

<iframe src="链接其他页面的地址” width="" height="" frameborder="0" scrolling="no"></iframe>

frameborder 是边线的意思  值一般设为0    scrolling 滚动条

 

下面为今天课程的联系题

设计邮箱注册界面

posted @ 2016-08-18 15:30  戳记  阅读(371)  评论(0编辑  收藏  举报