zoukankan      html  css  js  c++  java
  • 前端基础知识

    <!--HTML注释-->
    /*css和js注释*/
    background;red url(images/1.jpg) no-repeat 200px top fixed; 顺序可以乱
    ps 印屏幕 键盘上面 prtsc sysrq
    background-position: 数值 左右 百分比
    x:left center right
    y:top center bottom
    font:font-size(必须写)/line-height font-family(必须写) font-weight font-style line-height
    text-indent:1em=1个字符
    margin相邻上下两个margin是叠加的 选择大的一个。子元素的上下margin会传递给父元素
    margin-left:auto元素在最右边 margin-right:auto元素在最左边 margin:0 auto 元素居中。 auto只对左右起作用
    padding:显示的是背景 色
    可视宽度=border+padding+width
    <a href=""><link href=""> <img src="">
    a href 地址 http:www.baidu.com/index.html/#body 地址加锚点
    锚点 #ID
    下载压缩包 1.rar
    属性 target _blank -self <base target="" href="">全页面就写一个就行

  • 相关阅读:
    subprocess模块讲解
    正则
    logging日志模块
    2-30hashlib模块讲解
    json pickle复习 shelve模块讲解
    XML、PyYAML和configparser模块讲解
    os模块
    2-25sys模块和shutil模块讲解
    随机生成模块
    时间模块
  • 原文地址:https://www.cnblogs.com/ssica/p/5027105.html
Copyright © 2011-2022 走看看