img的屬性 和表單操做

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<title>img是一個內聯元素,有時須要display</title>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<meta name="description" content="布爾教育 http://www.itbool.com" />
</head>
    <body>
        <img src="small.png" alt="課表" title="鼠標放上去顯示"/>
            alt說明圖是什麼東西
    </body>
</html>css

/*******************************************************/html

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<title>新建網頁</title>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<meta name="description" content="布爾教育 http://www.itbool.com" />
</head>
    <body>  
        <p>css中經過設置行高來達到文字居中
        line-height:27px;
        height:27px;
        </p>
        <p> 用戶名:  <input type="text" name="username"/> </p>
        <p>密碼:   <input type="password" name="passwd" />   </p>
        <p> <input type="radio" name="xingbie" value="男" checked="checked"/> 男  </p>
        <p> <input type="radio"  name="xingbie" value="女"/>  女</p>
        <p>  <input type="checkbox" name="xingqu " value="打籃球" />打籃球  </p>
        <p> <input type="checkbox"  name="xingqu" value="踢足球" checked="checked"/>踢足球  </p>
        <p> <input type="checkbox" name="xingqu" value="乒乓球"/>乒乓球</p>
        <p>國籍:
            <select name="guo" id="guoji">
                <option value="中國">中國</option>
                <option value="美國" selected="selected">美國</option>
                <option value="日本">日本</option>
                <option value="澳大利亞">澳大利亞</option>
            </select>


        </p>
        <p>我的介紹:</p>
        <p>
            <textarea name="jieshao" id="qq" cols="30" rows="10">
                
            </textarea>
        </p>
        <p>上傳文件<input type="file" name="shangchuan" /></p>
        <p> <input type="hidden" name="ip"  value="192.168.1.1"/>隱藏域  </p>
        <p> <input type="submit" value="提交" /> </p>
    </body>
</html>
ui

相關文章
相關標籤/搜索