zoukankan      html  css  js  c++  java
  • day02-html


    表单form 实际上可以认为是一个快递
    action配置的是快递的目标地址
    method="post/get", 配置的是快递运输方式
    value-默认值,实际上传递的内容
    <form action="" method="post">
    <!--
    input-输入元素
    type-类型
    button-按钮
    submit-提交,默认提交表单
    value值,按钮显示的默认值-->
    <input type="text" />
    密码文本框:<input type="password"/>
    单选按钮:
    <input type="radio" checked name="sex"/>男,
    <input type="radio" name="sex"/>女
    单选按钮同组的name值必须一致,checked表示默认选中
    <!--多选按钮<input type="checkbox" checked name="habbies"/>
    同一组的多选按钮name必须一样
    checked 表示默认选中
    -->
    <!--select 下拉菜单 selected 设置默认选中-->
    <select name="job">
    <option value="0">上单</option>
    <option value="1" selected>中单</option>
    <option value="2">AD</option>
    </select>

    多行文本框:
    <textarea name="" rows="" cols="">
    真正内容显示区域
    disabled 禁用某个元素
    readonly 让元素只读
    hidden 隐藏的
    </textarea>
    </form>
    <a href="" target="">
    target="_blank" target="_self"

    在frameset中如何实现点击超链接,在另外的frame窗口打开指向的网页?
    1:给frameset中每个frame设置一个name属性值
    <frame src="a.html" name="top"></frame>
    2: 在a 标签的target属性指向 frame的 name 值
    <a href="http://www.baidu.com"
    target="right">百度</a>

  • 相关阅读:
    find
    fdisk
    falcon-eye
    ethtools
    e2fsck
    dpkg
    declare
    df
    debconf-utils
    区块链从零开始做开发(0):hyperledger Fabric2.3安装
  • 原文地址:https://www.cnblogs.com/beiluoL/p/10197687.html
Copyright © 2011-2022 走看看