Module: CGI::Html4Tr
Do not use. This module is for internal use only.
Relationships & Source Files | |
Extension / Inclusion / Inheritance Descendants | |
Included In:
| |
Super Chains via Extension / Inclusion / Inheritance | |
Instance Chain:
self,
TagMaker
|
|
Defined in: | lib/cgi/html.rb |
Overview
Mixin module for HTML version 4 transitional generation methods.
Instance Method Summary
-
#doctype
The DOCTYPE declaration for this version of HTML.
TagMaker
- Included
#nn_element | Generate code for an element with required start and end tags. |
#nn_element_def, | |
#nO_element | Generate code for an element for which the end (and possibly the start) tag is optional. |
#nO_element_def, | |
#nOE_element | Generate code for an empty element. |
#nOE_element_def |
Instance Method Details
#doctype
The DOCTYPE declaration for this version of HTML
# 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