(一)html基本标签

1  设置解码类型: <meta http-equiv="content-type" content="text/html;charset=utf-8"/>

2  设置搜索关键字:<meta name="keywords" content="java,net,C++" />    每个关键字占一定权值

3  描述语句 :<meta name="description" content="学习javaWeb,天天向上"/>

4   常用标签

       标题(h1~h6)                      水平线(hr)                         段落(p)         

       段落缩进(blockquote)        上下标(sup和sub)             原样输出(pre)        

       有序列表【可以设置type序号类型】(ol li)               无序列表(ul  li)【可以设置type空心圆等类型】

       项目列表标签(dl dt dd)                                               行内标签(span)  块标签<div>   在html中使用少,css中用得多

      <a href="index.html" target="_blank">超链接</a>

      常见的协议:
      file://   本地文件协议(本地或局域网)  默认
      http://    http协议(执行流程)  通常连接到域名或IP地址
      thunder: 迅雷下载软件的协议

      mailto:   调用本地的发送邮件的客户端软件

      打锚点 同一页: <a name="锚点名称"></a>

                               <a href="#锚点名称">内容</a>

     打锚点  不同页: <a name="锚点名称"></a>
                               <a href="链接页#锚点名称">内容</a>

    图片链接:   <img src="2.jpg" alt="这是一张图片"  width="100px" height="100px"    title="提示文字"/>

    热点:  <map name="Map" id="Map">
                  <area shape="rect" coords="196,338,301,398" href="04.html" target="_self" />
                  <area shape="circle" coords="139,191,45" href="03.html" target="_blank" />

                 </map>

   转义字符:  &lt;h3&gt;标题3&lt;/h3&gt;

   商标<sup>&reg;</sup> <br/>                               版权所有<sup>&copy;

   表格   caption  标题

    <thead>   <tbody>  <tfoot>默认加

    隐藏域

5  框架:<frameset rows="10%,*,10%">
                      <frame src="header.html" name="header"/>
                      <frameset cols="20%,*">
                                <frame src="menu.html"/>
                                <frame src="main.html" name="main"/>
                        </frameset>
                       <frame src="footer.html"/>

               </frameset>

  必须放在head中                    <a href="student.html" target="main">学生管理</a>       链接在main中显示

  • 0
    点赞
  • 0
    收藏
    觉得还不错? 一键收藏
  • 0
    评论

“相关推荐”对你有帮助么?

  • 非常没帮助
  • 没帮助
  • 一般
  • 有帮助
  • 非常有帮助
提交
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

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

抵扣说明:

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

余额充值