全是自身敲的编码,有的书上抵制自身写编码,可是我感觉由于沒有基本,自身写写還是有益处的,嘿嘿,本人建议不一样吧。。
训练1:
拷贝编码
编码以下:<html>
<body bgcolor="yellow">
<h1 align="center">This is heading 1</h1>
<h2 align = "left">This is heading 1</h2>
<h3 align = "right">This is heading 1</h3>
<h4>This is heading 1</h4>
<h5>This is heading 1</h5>
<h6>This is heading 1</h6>
<!--<h7>This is heading 1</h7>-->
<!--再来个注解,试1下实际效果 -->
<p>This is the first paragraph
</p>
<hr />这是连接地区
<a href="http://www.baidu.com">This is baidu link</a>
<br/>
<a href="http://www.w3school.com.cn">This is w3school link</a>
<hr />这是照片地区
<img src = "http://img.t.ifeng.com/201010/22/12/96x96_1758293e995c.jpg" />
<hr />这是报表地区
<table border="1">
<tr>
<th>Month</th>
<th>Savings</th>
</tr>
<tr>
<td>January</td>
<td>$100</td>
</tr>
</table>
<hr />换行作用
<p>这句话
在这里换行
</p>
<p>
这个段落 有许多
空行
或空格
可是访问器全自动 忽视
了它们
</p>
<pre>
这是预文件格式文字
能够显示信息空行
和空格
也有编码
</pre>
<pre>
while(true)
{
sum=a+b;
return sum;
cout<<sum;
}
</pre>
</body>
</html>
训练2:
拷贝编码
编码以下:<html>
<body>
<b>This text is bold</b>
<strong>This text is strong</strong>
<big>This text is big</big>
<small>This text is small</small>
<em>This text is emphasized</em>
<i>This text is italic</i>
This text contains<sub>下标</sub>
This text contains<sup>上标</sup>
<hr />
<pre>
这是预文件格式文字
哈哈
能够輸出空格
空行吧
</pre>
<code>
while(true)
{
computer code;
}
</code>
<kbd>keyboard input</kbd>
<samp>Sample text</samp>
<var>Computer variable</var>
<hr />
详细地址训练:
<address>
天津市市SHUDIP
FERT R
ABC(收)
邮政编码:123456
</address>
<hr />缩写训练
<abbr title = "etcetera">etc.</abbr>
<acronym title = "World Wide Web">www.</acronym>
<hr />文本方位训练//这里不适用那个作用吧,本应当是从右向左輸出文本
<bdo dir="rt1">Here is some text</bdo>
<hr />块的引入训练
这是长引入
<blockquote>这是长引入.这是长引入.这是长引入.这是长引入.这是长引入.这是长引入.这是长引入.这是长引入.这是长引入.这是长引入
这是长引入.这是长引入.这是长引入.这是长引入.这是长引入.这是长引入。这是长引入.这是长引入.这是长引入.这是长引入.这是长引入.这是长引入.这是长引入.这是长引入.这是长引入.这是长引入
这是长引入.这是长引入.这是长引入.这是长引入.这是长引入.这是长引入</blockquote>
这是短引入
<q>短引入哇,短引入</q>
<hr />删掉或加上文本实际效果训练
<p>1打有<del>210</del><ins>102</ins>个哦</p>
</body>
</html>
毫无疑问是非常简易啦,嘿嘿,坚持不懈!