开始使用免费开始使用

查找 href

考虑下面的 HTML:

<html>
  <head>
    <title>Website Title</title>
    <link rel="stylesheet" type="text/css" href="style.css">
  </head>
  <body>
    <div class="class1" id="div1">
      <p class="class2">
        Visit <a href="http://datacamp.com/">DataCamp</a>!
      </p>
    </div>
    <div class="class1 class3" id="div2">
      <p class="class2">
        Or search for it on <a href="http://www.google.com">Google</a>!
      </p>
    </div>
  </body>
</html>

下面哪些说法能正确描述如何定位到 URL http://datacamp.com

本练习是课程的一部分

Python Web 爬取

查看课程

动手互动练习

通过我们的互动练习之一,将理论转化为实践

开始练习