Module: CGI::Html5

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

Overview

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



972
973
974
# File 'lib/cgi/html.rb', line 972

def doctype
  %|<!DOCTYPE HTML>|
end