完成HTML的第一段代碼蜂怎,目的是理解網(wǎng)頁結(jié)構(gòu)怯疤,為爬取數(shù)據(jù)做準備
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<title>The Blah</title>
<!--存疑,還需要參照語法-->
<link rel="stylesheet" type="text/css" href="homework.css">
</head>
<body>
<!--header部分-->
<div class="header">
<!-- 圖片 -->
<!--定義無序列表勇吊,并加載樣式-->
<ul class="nav">
<li><a href="#">Home</a></li>
<li><a href="#">Site</a></li>
<li><a href="#">Other</a></li>
</ul>
</div>
<div class="main-content">
<h2>The Blah</h2>
<hr>
<!--加載圖片部分樣式-->
<ul class="photos">
<!-- 圖片 -->
</ul>
<!--段落蜂科,一段文字-->
<P>
Python is an easy to learn, powerful programming language.
It has efficient high-level data structures and a simple but effective approach to object-oriented programming.
Python’s elegant syntax and dynamic typing,
together with its interpreted nature,
make it an ideal language for scripting and rapid application development in many areas on most platforms.
</P>
</div>
<div class="footer">
<p>?Mugglecoding</p>
</div>
</body>
</html>