html_name | R Documentation |
Get element name
html_name(x)
x |
A document (from |
A character vector the same length as x
url <- "https://rvest.tidyverse.org/articles/starwars.html"
html <- read_html(url)
html %>%
html_element("div") %>%
html_children() %>%
html_name()
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.