HTML5,Javascript,and jQuery 24-Hour Trainer(2)——一些簡單的tag
阿新 • • 發佈:2019-01-04
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset = "utf-8">
<title>
Sugar's page
</title>
</head>
<body>
<h1>This is the first header</h1> <!--標題-->
<p>
This is a paragraphs. <!--段落-->
<br> <!--空行-->
This is a next line
<br>
Hi!
</p>
<blockquote>> <!--引用-->
It' a lone life.
<cite>By sugar</cite> <!--出處-->
</blockquote>
<p >Click me <a href="2.html">here</a> to view a page</p> <!--連結到另一頁面-->
<p><a href="http://www.baidu.com">百度</a></p> <!--連結到網頁-->
<p>
<img src='1.jpg' title="a text" width="200"> <!--放置圖片-->
</p>
<p>
<a href="http://www.baidu.com"><img src='1.jpg' width="200"/></a> <!--圖片連結-->
</p>
</body>
</html>
輸出效果: