【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">


#这个可以用来做网站跳转哦

 

posted @ 2019-08-29 22:52  Rollo|St  阅读(161)  评论(0编辑  收藏  举报