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

    1.关键字
    <meta name="keywords" content="关键字">
    2.网页描述
    <meta name="description" content="关键字">
    3.网页从定向
    <meat http-equiv="refresh" content="5;http://www.baidu.com">
    4.链接外部样式表
    <link rel="stylesheet" href="1.css">
    5.icon图标
    <link rel="icon" href="facicon.ico">
    6.表格
    (1)
    <table>
    <thead>
    <tr>
    <td></td>
    <td></td>
    <td></td>
    </tr>
    </thead>
    <tbody>
    <tr>
    <td></td>
    <td></td>
    <td></td>
    </tr>
    <tr>
    <td></td>
    <td></td>
    <td></td>
    </tr>
    </tbody>
    <tfoot>
    <tr>
    <td></td>
    <td></td>
    <td></td>
    </tr>
    </tfoot>
    </table>
    (2)合并单元格
    colspan合并左右
    rowspan合并上下
    (3)标题:<th></th>加粗和居中
    7.表单
    (1)表单的作用是收件信息
    (2)
    <from action="处理信息" method="get/post">
    <input type="text" maxlength="6" readonly="readonly">
    <input type="password">
    <input type="radio" name='' checked="checked">
    <!--下拉列表-->
    <select>
    <option selected="selected"></option>
    <option></option>
    <option></option>
    </select>
    <!--多选-->
    <input type="checkbox" checked="checked">
    <!--多行文本框-->
    <textarea cols="5-长度" rows="10-行数"></textarea>
    <!--文件上传控件-->
    <input type="file">
    <!--普通按钮-->
    <input type="button" value="普通按钮">
    <!--图片按钮-->
    <input type="image" src="">
    <!--网址控件-->
    <input type="url">
    <input type="submit">
    </from>
    (3)
    maxlength="6" //限制输入字符长度
    readonly="readonly"//只读状态

  • 相关阅读:
    .NET框架设计—常被忽视的C#设计技巧
    判断网络是否链接
    ADO.NET入门教程(五) 细说数据库连接池
    爬虫selenium中截图
    爬虫极滑块验证思路
    Linux 磁盘分区、挂载
    linux中crontab任务调度
    第30课 操作符重载的概念
    第29课 类中的函数重载
    第28课 友元的尴尬能力
  • 原文地址:https://www.cnblogs.com/zhaobw/p/6365745.html
Copyright © 2011-2022 走看看