Module | Markaby::BuilderTags |
In: |
lib/markaby/builder_tags.rb
|
Builds a head tag. Adds a meta tag inside with Content-Type set to text/html; charset=utf-8.
Every HTML tag method goes through an html_tag call. So, calling div is equivalent to calling html_tag(:div). All HTML tags in Markaby‘s list are given generated wrappers for this method.
If the @auto_validation setting is on, this method will check for many common mistakes which could lead to invalid XHTML.
Builds an html tag. An XML 1.0 instruction and an XHTML 1.0 Transitional doctype are prepended. Also assumes :xmlns => "www.w3.org/1999/xhtml", :lang => "en".