zoukankan      html  css  js  c++  java
  • 0426基础标签学习

    1、基础语法
         标签  作为网页的最小单元
         |-双标签  内容的容器
         |-单标签  控制性内容
         注释  每一个模块都要写清楚注释
    2、基本结构
       <!DOCTYPE html>    ||---告诉浏览器,我这是文档是html文档
        <html>
            <head>
                <meta charset="UTF-8"> ||-- 设置中文编码 utf-8
                <title></title>     ||--网页的标题
            </head>
            <body>
                 ||----网页的内容
            </body>
        </html>
    3、通用标签
         |-<body></body>   网页的内容都要写到body里面
         |-格式控制类
         |----加粗、倾斜、下划线、换行、空格
            <b></b> <i></i>  <u></u> <br/> &nbsp;

    <b><i><u>五一快到</u></i></b>
            我们一起<br/>去土耳其&nbsp;&nbsp;&nbsp;&nbsp;


         |-内容容器类
         |----标题
              <h1>~<h6>
         |----段落
              <p></p>
         |----行内标签:内容有多大,我就多大
              <span></span>   
         |----div:默认占一整行
              <div></div>    
         |----  有序列表、无序列表
                无序列表  <ul><li></li></ul>  type属性:circle disc square
                有序列表  <ol><li></li></ol>   type属性:1  a A I i   
    4、常用标签
       |-a标签
               作用: 做链接、做下载、做锚点     

  • 相关阅读:
    glusterfs 术语
    python 随便
    ubuntu glusterfs 配置调试
    源码生成deb包
    常用apt cli
    unexpected error ConnectionError object has no attribute
    [MFC]透明图展示
    菜鸟的mongoDB学习---(六)MongoDB 索引
    Keyboard的显示与隐藏
    HDU 4268 Alice and Bob(贪心+Multiset的应用)
  • 原文地址:https://www.cnblogs.com/comeon0328/p/8952796.html
Copyright © 2011-2022 走看看