Rdocumentation
powered by
Learn R Programming
htmltools (version 0.5.9)
Tools for HTML
Description
Tools for HTML generation and output.
Copy Link
Link to current version
Version
Version
0.5.9
0.5.8.1
0.5.8
0.5.7
0.5.6.1
0.5.6
0.5.5
0.5.4
0.5.3
0.5.2
0.5.1.1
0.5.1
0.5.0
0.4.0
0.3.6
0.3.5
0.2.6
0.2.4
Install
install.packages('htmltools')
Monthly Downloads
1,151,443
Version
0.5.9
License
GPL (>= 2)
Issues
83
Pull Requests
13
Stars
221
Forks
69
Repository
https://github.com/rstudio/htmltools
Homepage
https://rstudio.github.io/htmltools/
Maintainer
Carson Sievert
Last Published
December 4th, 2025
Functions in htmltools (0.5.9)
Search all functions
print.shiny.tag
Print method for HTML/tags
include
Include Content From a File
renderTags
Render tags into HTML
singleton
Include content only once
singleton_tools
Singleton manipulation functions
htmlDependencies
HTML dependency metadata
htmlDependency
Define an HTML dependency
tagFunction
Tag function
tagAppendChild
Modify tag contents
parseCssColors
Parse CSS color strings
plotTag
Capture a plot as a self-contained
<img>
tag
subtractDependencies
Subtract dependencies
suppressDependencies
Suppress web dependencies
tagQuery
Query and modify HTML tags
tagList
Create a list of tags
tagAddRenderHook
Modify a tag prior to rendering
tagAppendAttributes
Append tag attributes
renderDependencies
Create HTML for dependencies
withTags
Evaluate an expression using
tags
save_html
Save an HTML object to a file
validateCssUnit
Validate proper CSS formatting of a unit
urlEncodePath
Encode a URL path
browsable
Make an HTML object browsable
findDependencies
Collect attached dependencies from HTML tag object
defaultPngDevice
Determine the best PNG device for your system
css
CSS string helper
as.tags
Convert a value to tags
capturePlot
Capture a plot as a saved file
bindFillRole
Allow tags to intelligently fill their container
copyDependencyToDir
Copy an HTML dependency to a directory
builder
Create HTML tags
HTML
Mark Characters as HTML
htmlTemplate
Process an HTML template
html_print
Implementation of the print method for HTML
htmlPreserve
Preserve HTML regions
htmlEscape
Escape HTML entities
htmltools-package
htmltools: Tools for HTML
makeDependencyRelative
Make an absolute dependency relative
knitr_methods
Knitr S3 methods
resolveDependencies
Resolve a list of dependencies
renderDocument
Render an html_document object