asp.net 第四天 标签+class选择器
来源:互联网 发布:知乎 保险 编辑:程序博客网 时间:2024/05/21 07:04
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<title></title>
<style type="text/css">
.warning{background:yellow;}
.highlight{font-size:xx-large;cursor:help;}
input.accountno{background:right;color:Red;}
label.accountno{font-style:italic;}
#username
{
font-size:xx-large;
}
P strong{background-color:Yellow}
H1,H2,input{background-color:Green}
</style>
</head>
<body>
<!---class选择器--->
<div class="highlight" >你哈</div>
<div class="highlight warning">海报</div>
<div class="warning">黑河</div>
-----------------------------------------------------
<!---标签+class选择器--->
<input class="accountno" type="text" value="11111111" />
<label class="accountno" >33333333333333</label>
-------------------------------------------------------
<!---id选择器--->
<input id="username" type="text" value="aaaaaa" />
-----------------------------------------------------
<!---关联选择器---->
<br />
<strong>asdfasdfasdfasdf</strong>
<p><strong>dfsfsdfsd</strong></p>
-----------------------------------------------------
<!---组合选择器--->
<h1>好吗</h1>
<input type="text" value="text" />
<!---伪选择器-->
</body>
</html>
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<title></title>
<style type="text/css">
.warning{background:yellow;}
.highlight{font-size:xx-large;cursor:help;}
input.accountno{background:right;color:Red;}
label.accountno{font-style:italic;}
#username
{
font-size:xx-large;
}
P strong{background-color:Yellow}
H1,H2,input{background-color:Green}
</style>
</head>
<body>
<!---class选择器--->
<div class="highlight" >你哈</div>
<div class="highlight warning">海报</div>
<div class="warning">黑河</div>
-----------------------------------------------------
<!---标签+class选择器--->
<input class="accountno" type="text" value="11111111" />
<label class="accountno" >33333333333333</label>
-------------------------------------------------------
<!---id选择器--->
<input id="username" type="text" value="aaaaaa" />
-----------------------------------------------------
<!---关联选择器---->
<br />
<strong>asdfasdfasdfasdf</strong>
<p><strong>dfsfsdfsd</strong></p>
-----------------------------------------------------
<!---组合选择器--->
<h1>好吗</h1>
<input type="text" value="text" />
<!---伪选择器-->
</body>
</html>
- asp.net 第四天 标签+class选择器
- 标签选择器,id选择器,class类选择器
- 十天学会ASP.NET第四天
- jquery基本选择器:id选择器、class选择器、标签选择器、通配符选择器
- css基本选择器,id选择器,class选择器,标签选择器,*通配符选择器,逗号 空格 + >
- asp标签引擎 :tagEngine.Class.Asp
- 10天学会ASP.net之第四天
- 10天学会ASP.net之第四天
- 10天学会ASP.net之第四天
- 十天学会ASP.net之第四天
- 十天学会ASP.net之第四天
- 十天学会ASP.net之第四天
- 十天学会ASP.net之第四天
- ASP.Net 实战项目 之 《图书商城》 第四天
- asp.net css 样式选择器,优先级
- 清除html标签 asp.net
- asp.net过滤html标签
- js修改asp.net标签
- 结构体和文件操作
- 山寨手机(尼采手机)如何连接到eclipse
- 系统架构领域的一些学习材料 by林仕鼎
- 如何设置eclipse不同的workspace共享配置
- 中国风美句
- asp.net 第四天 标签+class选择器
- 递归组合模式(子和父的接口一样,这样container处理子container和leaf一样看待)
- sed命令详解
- Simple Commands
- Google 不死,逆天不止——购入超级量子计算机,建造人工智能实验室【转载】
- java_puzzlers---表达式之谜(一)
- python sorted 多个字段排序
- 修复损坏的初始化参数文件
- javascript & 基本函数