zoukankan      html  css  js  c++  java
  • 【Rollo的Python之路】Python 前端基础(一) HTML基础知识

    Python 前端基础(一) HTML基础知识

    课间笔记:

    1.0 标签分为:块级(block)与内联 (in-line)

    2.0 <div></div>  在html没任何效果,但是它是结合div+css来用的

    3.0 &nbps 空格,&lt==(<),&gt==(>)  less than,great than

    4.0 <img alt="",title="">

    5.0 <a></a>  外链和锚点的作用。

    6.0 CSS里面#对应的是id这个属性

    <header>
    <style>
        
       #div:
            height:300pcs
            background-color:red
    
    </style>
    </header>

    这个锚点就是<a href="#div"> 就会返回到这个ID为div的地方

    7.0  http-equiv

    <meta http-equiv = "Reflesh" content ="2;"URL="https://www.xxx.com">
    
    
    #这个可以用来做网站跳转哦
  • 相关阅读:
    052-14
    052-13
    css垂直居中
    js中的null 和undefined
    给数组添加属性
    js中避免函数名和变量名跟别人冲突
    js变量问题
    Life
    BFC和haslayout
    json文件
  • 原文地址:https://www.cnblogs.com/rollost/p/11432513.html
Copyright © 2011-2022 走看看