zoukankan      html  css  js  c++  java
  • 属性选择器(通常用在input)

      1.  input[type="text"]{}

                       选中属性值为text的input

           2.  input[type|="text"]{}

                       选中以text-开始的input的type属性值

                       <input type="text-sadads">

            3. input[type^="text"]{}

                       选中标签中type属性以text属性值开始

                       注:该声明表示属性值有多个并每一个属性值之间用空格隔开

                        例如:    <input type="text sadads">

           4.  input[type*="text"]{}

                       选中input标签中type属性包含text属性值,属性值之间可不隔开

                         例如:   <input type="sadtextsadads">

           5.  input[type~="text"]{}

                       选中input标签中type属性包含text属性值

                       注:该声明表示属性值有多个并每一个属性值之间用空格隔开

                        例如:<input type="sadds text sadads">

           6.  input[type$="text"]{}

                       选中标签中type属性以text属性值结束

                       例如:<input type="ssd text">

  • 相关阅读:
    Silverlight 2中实现文件上传和电子邮件发送
    Silverlight结合Web Service进行文件上传
    silverlight DataGrid 内嵌ComboBox 实现加载和保存
    silverlight 使用IValueConverter 转换
    检测场所条件查询
    代码中的坏味道
    Prism初研究之Bootstrapper
    Prism初研究之简介
    编写可读代码的艺术
    ffmpeg怎么样处理网络流
  • 原文地址:https://www.cnblogs.com/huan123/p/8046353.html
Copyright © 2011-2022 走看看