Ruby on Rails/Examples/HTML4.01

Rails generates XHTML by default. It can be made to generate HTML4.01 that can be validated with The W3C HTML validator.

DOCTYPE
Layouts begin with the HTML4.01 Strict DOCTYPE:

ApplicationHelper
looks something like this:

Views
Views can then refer to the newly-wrapped helpers: