Heads up! To view this whole video, sign in with your Courses account or enroll in your free 7-day trial. Sign In Enroll
Well done!
You have completed Scraping Data From the Web!
You have completed Scraping Data From the Web!
Preview
Let's take a brief look at how an HTML page is structured so we can better understand how to navigate a page for web scraping.
- Horse Land web site
- Horse Land site source code
Related Discussions
Have questions about this video? Start a discussion with the community and Treehouse staff.
Sign upRelated Discussions
Have questions about this video? Start a discussion with the community and Treehouse staff.
Sign up
How is a web page structured,
or more specifically,
0:00
how a web page should be structured.
0:01
In your journey with web scraping,
you'll likely come across a site or
0:04
two where you ask, hold your horses,
why aren't any of the tags closed?
0:08
Or, seriously,
there are five h1 tags on this page?
0:12
If we look at how an HTML page
should be structured, it starts and
0:17
ends with an opening and closing html tag.
0:21
Inside the html tag,
we have a head section which has tags for
0:24
metadata about the page and other
essential information for the document.
0:29
You need to sign up for Treehouse in order to download course files.
Sign upYou need to sign up for Treehouse in order to set up Workspace
Sign up