天天看點

html

<!doctype html public "-//w3c//dtd xhtml 1.0 strict//en"   http://www.w3.org/tr/xhtml1/dtd/xhtml1-strict.dtd">

<html>

<head>

<title></title>

<meta http-equiv = "content-type" content="text/html;charset=utf-8"/><!--設定編碼集  同時注意設定的編碼集方式要和儲存時方式相同  save as -->

</head>

<body>

<h1 align="center">java 語言基礎   <span style="color:red"><day03></span></h1>

<!--目錄-->

<ol><!--有序-->

<li>個人所得稅電腦<!--一級目錄-->

<ul><!--無序-->

<li><a href="#question">問題</a></li><!--二級目錄-->

<li><a href="#project">方案</a></li>

<li><a href="#code">解決</a></li>

</ul>

</li>

<li>指令解釋器

<ul>

<li>問題</li>

<li>方案</li>

<li>解決</li>

</ol>

<h2>1 個人所得稅</h2>

<a name="question"></a><!--這隻錨點 和連接配接對應-->

<h3>1.1 問題</h3>

<p>個人所得稅的繳納情況</p>

<div align="center">

<a href="http://www.baidu.com" target="_blank"><img src="calculater.jpg" height=200/></a><!--設定在--新視窗打開-->

<p>圖 -1</p>

</div>

<p>計算方式如表-1所示</p>

<table border=1 width =400 height=200 align="center">

<caption>表-1</caption>

<tr style="background-color:gray;">

<td width=200>所得</td>

<td width=100>稅率</td>

<td width=100>扣除數</td>

</tr>

<tbody style="color:red;">

<tr >

</tbody>

<td colspan=3>...</td>

<td colspan=3>

<table>

<tr>

<td width=150>計算公式為:</td>

<td width=250 >阿薩德發生</td>

</table>

</td>

<a name="project"></a>

<h3>1.2 方案</h3>

<p>使用if語句完成</p>

<div align="center"><!--使用div進行分組  多行分組   而使用span是單行分組-->

<a href="http://www.baidu.com" target="_blank"><img src="if.jpg" height=600/></a>

<p>圖 -2</p>

        <a name="code"></a>

<h3>1.3 實作</h3>

<p>建立一個記事本</p>

<p>pulbic class incometax{

<br />

}

</p>

<a href="#">to top</a><!--使用# 表示回到該頁面的最頂端-->

</html>

<h1>增加管理者<h1>

<form>

使用者名:<input type="text" name="n" value="aaa"/><br />

密碼:<input type="password" name="p" /><br />

性别:<input id="s1" type="radio" name="sex" value="0"/><label for="s1">男生</label>

<input id="s2" type="radio" name="sex" value="1"/><label for = "s2">女生<br /></label>

角色:

<fieldset>

<legend>請選擇</legend>

<input id="r1" type="checkbox" name="role" value="sa"/><label for="r1">超級管理者</label>

<input id="r2" type="checkbox" name="role" value="ad"/><label for="r2">普通管理者</label><br />

</fieldset>

狀态:

<select>

<option>啟用</option>

<option>停用</option>

<option>***</option>

</select><br />

個人描述:<br />

<textarea cols="10" rows="10">

</textarea>

<input type="submit" value="儲存"/>

<input type="reset" value="重寫"/>

<form>  

<iframe src="http://www.baidu.com" frameborder=0>

</iframe>