Module: CGI::Html4Tr

Includes:
TagMaker
Included in:
HTML4Fr, HTML4Tr
Defined in:
lib/cgi/html.rb

Overview

Mixin module for HTML version 4 transitional generation methods.

Instance Method Summary collapse

Methods included from TagMaker

#nOE_element, #nOE_element_def, #nO_element, #nO_element_def, #nn_element, #nn_element_def

Instance Method Details

#doctypeObject

The DOCTYPE declaration for this version of HTML



904
905
906
# File 'lib/cgi/html.rb', line 904

def doctype
  %|<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">|
end