zoukankan      html  css  js  c++  java
  • HTML基础

    HTML(标签、div+Css)+ JS(js语法,dom,jquery)

    HTML: Hyper Text ManKup Language 超文本标记语言

    学html,实际就是在学标签都有哪些,怎么用。如何通过标签来控制文本样式。

    文件后缀,html,htm


    基本标签:
    <html>
    <head>
    <title>网页名字</title>
    </head>


    <body>
    内容
    </body>
    </html>

    任何标签都是包含关系,不会交叉。


    body的属性:

    bgcolor 页面背景色
    text 文字颜色
    topmargin 上页边距
    leftmargin 左页边距
    rightmargin 右页边距
    bottomargin 下页边距
    backgroud 背景壁纸


    <font color='#0000FF' size="+1" face="宋体">fafdsfadf</font>
    color 颜色 size大小 face字体

    <b>加粗</b>
    <i>倾斜</i>
    <u>下划线</u>
    <strong>字体加粗(强调,语气加强用)</strong>
    <em></em> 字体倾斜(强调,语气加强用)
    <center></center> 居中
    <br>或许<br/> 相当于回车
    &nbsp; 表示空格 也可以在涉及页面上中ctrl+shift+space

  • 相关阅读:
    composer的使用
    tp5短信接口的使用
    PHP序列化与反序列化
    PHP 的oop思想
    php单例模式
    统计图的使用(chart)
    jq的时间插件
    php中Excel操作
    Linux 常用命令
    think cmfx目录结构
  • 原文地址:https://www.cnblogs.com/wangfangjia/p/4941281.html
Copyright © 2011-2022 走看看