zoukankan      html  css  js  c++  java
  • 1118

    表单

    1.文本输入

    a.文本框:<input type="text" value=""> value 文本框中默认输入的内容

    b.密码框:<input type="password">

    c.文本域:<textarea name="" cols=""(字符多少) rows=“”(几行高)> 文本中的内容 </textarea>

    d.隐藏域:<input type="hidden">

    2.按钮

    a.提交按钮:<input type="submit" value=""(可以修改按钮的名称)>

    b.重置按钮:<input type=“reset”>

    c.普通按钮:<input type="button" value=""(可以修改按钮的名称)>

    d.图片按钮:<input type="image" src="图片地址"

    3.选择输入

    a.单选按钮组:<input type="radio" name=""(分组可随便名称,名称要一样)>每一项的名称

    b.复选框组:<input type="checkbox">每一项的名称

    c.文件上传:<input type="file">

    图片热点

    <img usemap="123"src="image/psds32492.jpg" /><br />
    <map name="123">
    <area shape="circle" coords="22,22,22" href="http://www.baidu.com" />
    </map>

    快速网页制作(ps切片)

    在ps中选择一个式样图片  Alt+滚轮上滑=放大 空格+左键滑动=图片的移动  用切片工具在图片中选择要选择的内容一一切片 完成之后存储为web所用格式 保存时选择html+图片格式,右键保存的web文件选择打开方式,用DW打开,在设计中选择切片的地方在下边属性中输入对应的网址,用target=“-blank(new)”选择成打开一个新页面。

  • 相关阅读:
    javascript教程系列-10.DOM(下)
    javascript教程系列-9.DOM(上)
    javascript教程系列-8.BOM
    javascript教程系列-7.Date对象
    javascript教程系列-6.String类型
    javascript教程系列-5.数组
    Python字符串、元组、列表、字典互相转换的方法
    python 中函数
    python中的字符串 列表 字典
    python 基础 知识
  • 原文地址:https://www.cnblogs.com/dnf1612/p/6077684.html
Copyright © 2011-2022 走看看