Class: Fortitude::Doctypes::Html4Strict

Inherits:
Html4
  • Object
show all
Defined in:
lib/fortitude/doctypes/html4_strict.rb

Instance Attribute Summary

Attributes inherited from Base

#name

Class Method Summary collapse

Instance Method Summary collapse

Methods inherited from Html4

#allows_bare_attributes?, #close_void_tags_must_be, #default_javascript_tag_attributes, #needs_cdata_in_javascript_tag?

Methods inherited from Base

#close_void_tags_must_be, #declare!, #tags, #to_s

Methods included from Tags::TagStore

#delegate_tag_stores, #modify_tag, #tag, #tag_names, #tags, #tags_added!, #tags_changed!

Constructor Details

#initializeHtml4Strict


7
8
9
# File 'lib/fortitude/doctypes/html4_strict.rb', line 7

def initialize
  super(:html4_strict, 'HTML PUBLIC "-//W3C//DTD HTML 4.01//EN" "http://www.w3.org/TR/html4/strict.dtd"')
end

Class Method Details

.delegate_tag_storesObject


12
13
14
# File 'lib/fortitude/doctypes/html4_strict.rb', line 12

def delegate_tag_stores
  [ Fortitude::Doctypes::Html4TagsStrict ]
end