<!doctype html> #tell the browser we work on html5
<html>
<head>
<title> My webpage </title> #标题
</head>
<body>
<h1>bigest</h1>
<h2> second </h2> #h1到h6代表字体大小
<p> # p代表新的paragraph
this is <strong> bold </strong> <br> # strong 是加粗 br是换行
this is <em> italic </em> <br> # em是斜体
</p>
<p>
this is <strong> bold </strong> <br>
this is <em> italic </em> <br>
</p>
<p>
this is <strong> bold </strong> <br>
this is <em> italic </em> <br>
</p>
<a href="http://www.google.com">google</a> #a代表链接 herf=“地址”
<a herf="page2.html">page2</a> #没有http://,这里是relative link
<img src="https://timedotcom.files.wordpress.com/
2015/06/521811839-copy.jpg"> <br> #img代表image,src=“地址”
<div></div>
<span></span>
<ul> #代表unordered list
<li> item 1 </li>
<li> item 2 </li>
</ul>
<ol> #代表ordered list
<li> item 1 </li>
<li> item 2 </li>
</ol>
</body>
</html>
html
最新推荐文章于 2022-04-09 10:43:09 发布