zoukankan      html  css  js  c++  java
  • 10.11号笔记

    10.11号笔记

    <a>标签

    href:规定链接指定的页面URL

    target(何处打开):_blank(新窗口)_self(当前窗口)_parent(父框架)

            _top(在整个窗框架口)_framename(指定框架) (这两个用于框架中)

    eg:框架  <iframe>.....</iframe>

    (注释:....代表着src="内容",width="内容",height="内容",style="内容" )

    图片标签img:

    src:图片路径(必须有);分为绝对路径和相对路径
     
    alt:图片显示不出来的代替文本(必须有)

    title:鼠标滑入图像时显示的提示文字

    定义列表标签(实现图文混排)

    dt  dl  dd

    表格标签(table)

    基本标签:table(定义表格);caption(定义表格标题);th(表头);tr(行);td(列/单元格)

    表格标签属性:宽:width;高;height;边:border

    tr&th标签属性:纵向/行:rowspan;横向:colspan

    单元格之间间距:cellspacing;单元内容与边间距:cellpadding

    表单

    <form>......</form>

    一般和table一起使用

    <form>

       <table>

       <tr>

       <td>......</td>

       </tr>

       <table>

    </form>

    <iframe >......</iframe>

    属性:src="属性值" width="属性值" height="属性值" style="border:none"

    <a href="地址" target="_parent">在父框架打开</a>

    <a href="地址" target="_top">在当前整个窗口打开</a>

    常用属性:

    name:用于定义表单名称

    action:一个URL,定义提交到目标的位置

    method:定义发送表单数据时提交的方式(get/post)

            {get:提交少量数据;post:携带大量赎数据}

            {get:提交数据会在数据栏显示;post:不在数据栏显示,显得更加安全}

  • 相关阅读:
    统计难题(字典树 模版题)
    hadoop2.2.0集群安装
    HDU 3068 回文串--Manacher
    Poj 3974 回文串--Manacher
    word模版另存为网页(*.htm,*.html),转为jsp页面并加入数据后导出成word
    OpenCV——字符提取并保存
    直线检测
    图像切边
    OpenCV 中轮廓包裹的几个函数boundingRect、minAreaRect、minEnclosingCircle用法
    使用级联分类器实现人脸检测(OpenCV自带的数据)
  • 原文地址:https://www.cnblogs.com/lxx-1571108184/p/7651934.html
Copyright © 2011-2022 走看看