meta_tag {metathis} | R Documentation |
Create a metadata tag for attribute/value pairs
Description
Creates a <meta>
tag for attribute value pairs, where argument names
correspond to attribute names.
Usage
meta_tag(.meta = meta(), ...)
Arguments
.meta |
A |
... |
Attribute names and values as |
Value
A meta
object, or a set of <meta>
HTML tags inside an HTML
<head>
tag. For use in rmarkdown::html_document()
, shiny::runApp()
,
or other HTML locations.
See Also
Other meta:
meta_apple_itunes_app()
,
meta_apple_web_app()
,
meta_general()
,
meta_geo()
,
meta_google_scholar()
,
meta_name()
,
meta_social()
,
meta_viewport()
,
meta()
Examples
meta() %>%
meta_tag(
"http-equiv" = "Content-Security-Policy",
content = "default-src 'self'"
)
[Package metathis version 1.1.4 Index]