Skip to content

Doctype (HTML only)

In Phlex::HTML components, you can output an HTML doctype with the doctype method.

ruby
doctype
html
<!doctype html>