zoukankan      html  css  js  c++  java
  • html常用标签

    <!DOCTYPE html encoding="utf-8">
    <html>
    <head>
    	<title>常用标签</title>
    </head>
    <body>
         <form>
    
            <br/><!-- 换行 -->
         	username:<input type="text" value="zhangsan"> <br/>
         	password:<input type="password"><br/>
         	<!--复选框 -->
         	兴趣:学习<input type="checkbox">
         	      旅游<input type="checkbox"><br/>
         	<!-- 单选款  为了互斥  加相同的name-->
         	性别:男<input type="radio" name ="xingbie">
         	      女<input type="radio" name = "xingbie">
    
         	 <br/>
         	上传文件:<input type="File" name="fileupdata"><br/>
    
            <!-- 提交按钮 -->
         	<input type="submit" value="提交">
            <!-- 重置按钮 -->
            <!--  一个空格-->
         	<input type="reset" value="重置">  
    
            <!-- 按钮 -->
            <input type="button" name="button" value="按钮" 
            onclick="javascript:alert('hello world!');" > 
    
    
            <br/><br/><br/>
         	<!-- 下拉表单 -->
         	学历:<select>
         		   <option>小学</option>
         		   <option>初中</option>
         		   <option>高中</option>
         		   <option>大学</option>
         	     </select>
    
         	     <br/> 
         	<!-- text area文本框标签  -->
         	评论: <textarea>
    
         	      </textarea><br/>
    
         	<!-- 图片 src 指定地址 -->
    
         	<img src="">
         </form>
    </body>
    </html>
    

      

  • 相关阅读:
    Binary Tree Level Order Traversal
    Search a 2D Matrix
    Minimum Path Sum
    Remove Duplicates from Sorted Array II
    AngularJS 过滤器
    AngularJS 控制器
    AngularJS ng-model 指令
    AngularJS Scope(作用域)
    AngularJS 指令
    AngularJS表达式
  • 原文地址:https://www.cnblogs.com/JoePotter/p/5572351.html
Copyright © 2011-2022 走看看