RHTML is an actively used template language created in 2004. RHTML is HTML mixed with Ruby, using HTML tags. All of Ruby is available for programming along with HTML.
- RHTML first appeared in 2004
- file extensions for RHTML include rhtml
- Have a question about RHTML not answered here? Email me and let me know how I can help.
Example code from the web:
<ul> <% @products.each do |p| %> <li><%= @p.name %></li> <% end %> </ul>
Last updated February 18th, 2020