You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
|
|
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN""http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml"><head> <meta charset="UTF-8"> <meta name="viewport" content="width=device-width, initial-scale=1.0"> <title>HTML学习2</title></head><body>
<!--iframe--><iframe src="http://127.0.0.1:5500/%E5%90%B4%E5%85%89%E6%85%A7%E5%AD%A6%E4%B9%A0%E7%AC%94%E8%AE%B0/10.29/study1.html" name="iframe_a"width="500" height="500" frameborder="0">study1</iframe><!--使用 iframe 作为链接的目标--><p><a href="http://www.w3school.com.cn" target="iframe_a">W3School.com.cn</a></p>
<!--框架-->
<h1>我的第一个 Emoji</h1><p style="font-size:48px">😀</p>
<!--URL--><!--
http 超文本传输协议 以 http:// 开头的普通网页。不加密。https 安全超文本传输协议 以 https:// 开头的安全网页。加密。ftp 文件传输协议 以 ftp:// 用于将文件下载或上传至网站。ftps 安全文件传输协议 以 ftps:// 开头的安全文件传输协议。加密。file 本地文件 以 file:// 开头的本地文件。-->
<!--表单--><!--form--><form action="action_page.php" method="GET" target="_blank" accept-charset="UTF-8"ectype="application/x-www-form-urlencoded" autocomplete="off" novalidate><fieldset><!--元素组合表单中的相关数据--><legend>Personal information:</legend><!--为 <fieldset> 元素定义标题--> First name:<br><input type="text" name="firstname"><br> Last name:<br><input type="text" name="lastname"><br><br> <input type="submit" value="Submit"></fieldset></form>
<!--单选按钮--><form><input type="radio" name="sex" value="male" checked>Male<br><input type="radio" name="sex" value="female">Female</form> <!--复选框--><form><input type="checkbox" name="vehicle" value="Bike"> I have a bike<br><input type="checkbox" name="vehicle" value="Car" checked> I have a car</form>
<!--Action--><form action="action_page.php" method="GET"></form><form action="action_page.php" method="POST"></form><!--POST 的安全性更好,因为在页面地址栏中被提交的数据是不可见的
GET的URL 的长度受到限制(2048 个字符)-->
<!--target属性--><form action="/action_page.php" target="_blank"></form><!--_blank:新的 _self:当前 _parent:父框架
_top:在窗口的整个 body 中 framename:在命名的 iframe 中-->
</body></html>
|