html复习2

<!DOCTYPE html>
<html>
<head>
<meta charset="utf-8"></meta>
<title>我去</title>
</head>
<body>
    <h1>我的第一个标题</h1>
    <hr>
    <hr>
    <hr>
    <p>我的第一个段落。</p>
    <h1>这是一个标题。</h1>
<h2>这是一个标题。</h2>
<h3>这是一个标题。</h3>
<div style='float:right'><strong >141个颜色名,其中一部分</strong></div>
<div> <table style='background-color: black;float: right' border="0.5">
  <tr ><td height='100' width='100' style='color: Black'>aaa</td></tr>
  <tr style='background-color: Coral'><td height='100' width='100'>aaa</td></tr>
  <tr style='background-color: BlueViolet'><td height='100' width='100'>aaa</td></tr>
  <tr style='background-color: Brown'><td height='100' width='100'>aaa</td></tr>
  <tr style='background-color: Chocolate'><td height='100' width='100'>aaa</td></tr>
  <tr style='background-color: Crimson'><td height='100' width='100'>aaa</td></tr>
  <tr style='background-color: Bisque'><td height='100' width='100'>aaa</td></tr>
  <tr style='background-color: DarkGoldenRod'><td height='100' width='100'>aaa</td></tr>
  <tr style='background-color: DarkMagenta'><td height='100' width='100'>aaa</td></tr>
</table></div>
<div id='demo'>使用js改变样式</div>
一段字符实体:<br>
&lt;&gt;&nbsp;&nbsp;&nbsp;a&#768; 可以在页面中显示&lt;&gt;而不会转义为html标签&lt;br&gt;
啪&#771;啪&#771;啪&#771;
<script type='text/javascript'>
  document.write('<div>使用js改变样式</div>');
  document.getElementById("demo").style.color='#f00';
</script>
<br>
URL 只能使用 ASCII 字符集.
来通过因特网进行发送。由于 URL 常常会包含 ASCII 集合之外的字符,URL 必须转换为有效的 ASCII 格式。
URL 编码使用 "%" 其后跟随两位的十六进制数来替换非 ASCII 字符。
URL 不能包含空格。URL 编码通常使用 + 来替换空格。
<h1>灵活的下拉框</h1>
<input list='datalist_demo'>
<datalist id = 'datalist_demo'>
  <option>a</option>
    <option>b</option>
      <option>c</option>
    </datalist>
<div>
<a href='mailto:sakalaka@qq.com&Subject=hooho'>发邮件</a>
</div>
<div>
  <strong><i>aa</i>aaaaaa<del>aa</strong></del>
  <abbr title='world wide web'>WWW</abbr>
  <bdo dir='rtl'>的来过反是本原本文段这</bdo>
</div>


<div>
  <dialog open>对话框</dialog>
</div>
<details>
<summary>Copyright 1999-2011.</summary>
<p> - by Refsnes Data. All Rights Reserved.</p>
<p>All content and graphics on this web site are the property of the company Refsnes Data.</p>
</details>
</body>
</html>
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值