visual studio 11 express 各类控件


1.单选框:



代码:

   <select size="2" id="scenarios" aria-labelledby="listLabel">
                        <option selected="selected" value="1">Branded Applications</option>
                    </select>





2.button组


代码:

<div class="item" id="scenario1Input">
						<p>The page below can be easily rebranded by changing the active style sheet, as shown in this SDK. The changes include restyling text, restyling backgrounds, and restyling controls.</p>
						<button class="action" id="defaultStyleButton">Web style</button>
						<button class="action" id="uiDarkButton">Dark style</button>
						<button class="action" id="uiLightButton">Light style</button>
						<button class="action" id="desertStyleButton">Desert style</button>
						<button class="action" id="oceanStyleButton">Ocean style</button>
						<br /><br />
					</div>


3.range Input输入框



代码:

<div class="styledElement caption" id="rangeCaption">How many people do you want to feed?</div>
<input class="styledElement" id="range1" type="range" min="0" max="10" />

4.checkbox button

代码:

<label class="styledElement checkboxTitle">
                    <input class="styledElement" type="checkbox" />
                    Onions
			    </label>


5.   radio button


   <label class="styledElement checkboxTitle">
    			    <input name="fillings" class="styledElement" type="radio" />                
                    Beef
			    </label>


6.标准input控件的其他用法


 <div class="leftmost collection" id="textCollection">
			    <div class="styledElement caption" id="textCaption">Input your address: </div>
			    <input class="styledElement" type="text" />
			    <input class="styledElement" type="submit" />
			    <input class="styledElement" type="reset" />
		    </div>



评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值