Skip to content

Commit 6ebf0a3

Browse files
committed
work
1 parent f6b17fc commit 6ebf0a3

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

inst/tutorials/24-web-scraping/tutorial.Rmd

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -234,7 +234,7 @@ html_2 |>
234234
`html_elements()` pulls out all the elements that match the selector, which is provided to the `css` argument. "Elements" consist of a start tag (e.g. \<p\>), optional attributes (id='first'), an end tag4 (like \</p\>). The "contents" of an element are everything in between the start and end tag.
235235

236236
Since there are two elements with the "p" tag, where the "p" is for "paragraph," the result from `html_elements()` are those two elements. The element with the "h1" tag is not included.
237-
237+
238238
### Exercise 8
239239

240240
Pipe `html_2` to `html_elements(".important")`. Note that the `css` argument is ".important" --- with a leading dot --- even though the attribute is "important" without a dot.

0 commit comments

Comments
 (0)