Package: html5 1.0.2

html5: Creates Valid HTML5 Strings

Generates valid HTML tag strings for HTML5 elements documented by Mozilla. Attributes are passed as named lists, with names being the attribute name and values being the attribute value. Attribute values are automatically double-quoted. To declare a DOCTYPE, wrap html() with function doctype(). Mozilla's documentation for HTML5 is available here: <https://developer.mozilla.org/en-US/docs/Web/HTML/Element>. Elements marked as obsolete are not included.

Authors:Timothy Conwell

html5_1.0.2.tar.gz
html5_1.0.2.zip(r-4.5)html5_1.0.2.zip(r-4.4)html5_1.0.2.zip(r-4.3)
html5_1.0.2.tgz(r-4.4-any)html5_1.0.2.tgz(r-4.3-any)
html5_1.0.2.tar.gz(r-4.5-noble)html5_1.0.2.tar.gz(r-4.4-noble)
html5_1.0.2.tgz(r-4.4-emscripten)html5_1.0.2.tgz(r-4.3-emscripten)
html5.pdf |html5.html
html5/json (API)

# Install 'html5' in R:
install.packages('html5', repos = c('https://tconwell.r-universe.dev', 'https://cloud.r-project.org'))

Peer review:

Bug tracker:https://github.com/tconwell/html5/issues

On CRAN:

3.65 score 1 stars 3 packages 1 scripts 384 downloads 1 mentions 127 exports 0 dependencies

Last updated 2 years agofrom:19ca8c0363. Checks:OK: 7. Indexed: yes.

TargetResultDate
Doc / VignettesOKNov 01 2024
R-4.5-winOKNov 01 2024
R-4.5-linuxOKNov 01 2024
R-4.4-winOKNov 01 2024
R-4.4-macOKNov 01 2024
R-4.3-winOKNov 01 2024
R-4.3-macOKNov 01 2024

Exports:aabbraddressappletareaarticleasideattr_helperaudiobbasebdibdoblockquotebodyboolean_attributesbrbuttoncanvascaptioncitecodecolcolgroupcontentcontent_indenterdatadatalistdddeldetailsdfndialogdivdldoctypedtemembedempty_tag_helperfieldsetfigcaptionfigurefooterformformatted_tag_helperh1h2h3h4h5h6headheaderhrhtmlhtml5_varsiiframeimginputinskbdkeygenlabellegendlilinkmainmapmarkmenumenuitemmetameternavnoscriptobjectoloptgroupoptionoutputpparampicturepreprogressqrbrprtrtcrubyssampscriptsectionselectshadowslotsmallsourcespanstrongstylesubsummarysuptabletag_helpertbodytdtemplatetextareatfootththeadtimetitletrtrackttuulvarvideowbr

Dependencies:

Readme and manuals

Help Manual

Help pageTopics
Generate the <a> HTML tag.a
Generate the <abbr> HTML tag.abbr
Generate the <address> HTML tag.address
Generate the <applet> HTML tag.applet
Generate the <area> HTML tag.area
Generate the <article> HTML tag.article
Generate the <aside> HTML tag.aside
Helper function to generate HTML5 attribute stringsattr_helper
Generate the <audio> HTML tag.audio
Generate the <b> HTML tag.b
Generate the <base> HTML tag.base
Generate the <bdi> HTML tag.bdi
Generate the <bdo> HTML tag.bdo
Generate the <blockquote> HTML tag.blockquote
Generate the <body> HTML tag.body
Vector of boolean attributesboolean_attributes
Generate the <br> HTML tag.br
Generate the <button> HTML tag.button
Generate the <canvas> HTML tag.canvas
Generate the <caption> HTML tag.caption
Generate the <cite> HTML tag.cite
Generate the <code> HTML tag.code
Generate the <col> HTML tag.col
Generate the <colgroup> HTML tag.colgroup
Generate the <content> HTML tag.content
Add new lines and tabs to format HTML content.content_indenter
Generate the <data> HTML tag.data
Generate the <datalist> HTML tag.datalist
Generate the <dd> HTML tag.dd
Generate the <del> HTML tag.del
Generate the <details> HTML tag.details
Generate the <dfn> HTML tag.dfn
Generate the <dialog> HTML tag.dialog
Generate the <div> HTML tag.div
Generate the <dl> HTML tag.dl
Generate HTML document string with properly declared DOCTYPE.doctype
Generate the <dt> HTML tag.dt
Generate the <em> HTML tag.em
Generate the <embed> HTML tag.embed
Helper function to generate HTML5 strings without end tagsempty_tag_helper
Generate the <fieldset> HTML tag.fieldset
Generate the <figcaption> HTML tag.figcaption
Generate the <figure> HTML tag.figure
Generate the <footer> HTML tag.footer
Generate the <form> HTML tag.form
Helper function to generate HTML5 strings formatted with new lines and tabsformatted_tag_helper
Generate the <h1> HTML tag.h1
Generate the <h2> HTML tag.h2
Generate the <h3> HTML tag.h3
Generate the <h4> HTML tag.h4
Generate the <h5> HTML tag.h5
Generate the <h6> HTML tag.h6
Generate the <head> HTML tag.head
Generate the <header> HTML tag.header
Generate the <hr> HTML tag.hr
Generate the <html> HTML tag.html
Environment to set formatted to TRUE/FALSEhtml5_vars
Generate the <i> HTML tag.i
Generate the <iframe> HTML tag.iframe
Generate the <img> HTML tag.img
Generate the <input> HTML tag.input
Generate the <ins> HTML tag.ins
Generate the <kbd> HTML tag.kbd
Generate the <keygen> HTML tag.keygen
Generate the <label> HTML tag.label
Generate the <legend> HTML tag.legend
Generate the <li> HTML tag.li
Generate the <link> HTML tag.link
Generate the <main> HTML tag.main
Generate the <map> HTML tag.map
Generate the <mark> HTML tag.mark
Generate the <menu> HTML tag.menu
Generate the <menuitem> HTML tag.menuitem
Generate the <meta> HTML tag.meta
Generate the <meter> HTML tag.meter
Generate the <nav> HTML tag.nav
Generate the <noscript> HTML tag.noscript
Generate the <object> HTML tag.object
Generate the <ol> HTML tag.ol
Generate the <optgroup> HTML tag.optgroup
Generate the <option> HTML tag.option
Generate the <output> HTML tag.output
Generate the <p> HTML tag.p
Generate the <param> HTML tag.param
Generate the <picture> HTML tag.picture
Generate the <pre> HTML tag.pre
Generate the <progress> HTML tag.progress
Generate the <q> HTML tag.q
Generate the <rb> HTML tag.rb
Generate the <rp> HTML tag.rp
Generate the <rt> HTML tag.rt
Generate the <rtc> HTML tag.rtc
Generate the <ruby> HTML tag.ruby
Generate the <s> HTML tag.s
Generate the <samp> HTML tag.samp
Generate the <script> HTML tag.script
Generate the <section> HTML tag.section
Generate the <select> HTML tag.select
Generate the <shadow> HTML tag.shadow
Generate the <slot> HTML tag.slot
Generate the <small> HTML tag.small
Generate the <source> HTML tag.source
Generate the <span> HTML tag.span
Generate the <strong> HTML tag.strong
Generate the <style> HTML tag.style
Generate the <sub> HTML tag.sub
Generate the <summary> HTML tag.summary
Generate the <sup> HTML tag.sup
Generate the <table> HTML tag.table
Helper function to generate HTML5 strings with end tagstag_helper
Generate the <tbody> HTML tag.tbody
Generate the <td> HTML tag.td
Generate the <template> HTML tag.template
Generate the <textarea> HTML tag.textarea
Generate the <tfoot> HTML tag.tfoot
Generate the <th> HTML tag.th
Generate the <thead> HTML tag.thead
Generate the <time> HTML tag.time
Generate the <title> HTML tag.title
Generate the <tr> HTML tag.tr
Generate the <track> HTML tag.track
Generate the <tt> HTML tag.tt
Generate the <u> HTML tag.u
Generate the <ul> HTML tag.ul
Generate the <var> HTML tag.var
Generate the <video> HTML tag.video
Generate the <wbr> HTML tag.wbr