第二天 第二彈 iframe內嵌框架 和from表單和input的運用
阿新 • • 發佈:2018-04-11
tex class AC -s AI bsp box 內嵌 align
先是iframe框架
接下來是代碼的運用
<html> <head> <title>IFRAME</title> <meta charset="utf-8"> </head> <iframe name="top" width="100%" height="400px" src="http://www.baidu.com" frameborder="0" scrolling="auto"></iframe> <strong><h1><a href="http://www.sina.com.cn"target="top">新浪</a></h1></strong> <strong><h1><a href="http://www.baidu.com" target="top">百度</a></h1></strong> </html>
form表單
input標簽運用
實際運用
<html> <head> <title>表單</title> <meta charset="utf-8"> </head> <body> <form action=""> 文本框<input type="text" name="text">文本 密碼<input type="password" name="password">//密碼 單選<input type="radio" name="danxuan">//單選框 隱藏域<input type="hidden" name="yingcang">//隱藏域 復選框<input type="checkbox" name="fuxuan">//復選框 圖像域<input type="image" name="image">//圖像域 文件上傳<input type="file" name="wenjian">//文件上傳 按鈕<input type="button" name="btn">//按鈕 提交<input type="submit" name="tijiao">//提交 重置<input type="reset" name="chongzhi">//重置 </form> </body> </html>
加油 堅持!!
第二天 第二彈 iframe內嵌框架 和from表單和input的運用