% Generated by roxygen2: do not edit by hand
% Please edit documentation in R/extract_text.R
\name{html_text_content}
\alias{html_text_content}
\title{Extract text, title, description and language from HTML}
\usage{
html_text_content(html)
}
\arguments{
\item{html}{Raw HTML as a single string.}
}
\value{
A list with `text` (cleaned, lowercased), `title`, `description` and `lang`.
  Missing elements are `NA_character_`; `text` is `""` when nothing could be extracted.
}
\description{
Extract text, title, description and language from HTML
}
\examples{
html <- "<html lang='en'><head><title>Example</title>
  <meta name='description' content='A demo page'>
  <script>ignored()</script></head>
  <body><p>Hello   World</p><style>p{}</style></body></html>"
html_text_content(html)
}
\seealso{
[page_signals()], which uses this to decide whether a page is classifiable.
}
