Module: CGI::Html4

Includes:
TagMaker
Included in:
HTML4
Defined in:
lib/cgi/html.rb

Overview

Mixin module for HTML version 4 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



865
866
867
# File 'lib/cgi/html.rb', line 865

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