Safe Haskell | None |
---|
Composite constructors and constants.
- add_attrs_c :: [Attr] -> Content -> Content
- meta_content_type :: String -> Content
- meta_author :: String -> Content
- meta_description :: String -> Content
- meta_viewport :: String -> Content
- data Link_Type
- link_type_str :: Link_Type -> String
- link_ty :: Link_Type -> [Attr] -> Content
- link_css :: String -> String -> Content
- link_rss :: String -> String -> Content
- script_js :: String -> Content
- script_js_src :: FilePath -> Content
- w3_html_validator :: String
- w3_css_validator :: String
- w3_rss_validator :: String -> String
- data Input_Type
- input_type_str :: Input_Type -> String
- input_ty :: Input_Type -> [Attr] -> Content
- input_hidden :: String -> String -> Content
- input_submit :: String -> String -> Content
Attributes
Meta elements
meta_content_type :: String -> ContentSource
Set content-type
.
meta_author :: String -> ContentSource
Set author
.
meta_description :: String -> ContentSource
Set description
.
meta_viewport :: String -> ContentSource
Set meta_viewport
.
Link elements
Enumeration of HTML5 link types.
link_type_str :: Link_Type -> StringSource
HTML name for Link_Type
.
link_type_str Link_Stylesheet == "stylesheet"
Script elements
script_js_src :: FilePath -> ContentSource
Source javascript.
Validators
w3_html_validator :: StringSource
W3.org
HTML validator.
w3_css_validator :: StringSource
W3.org
CSS validator.
w3_rss_validator :: String -> StringSource
W3.org
CSS validator.
w3_rss_validator "http://haskell.org"
Input elements
data Input_Type Source
Enumeration of HTML5 input types.
input_type_str :: Input_Type -> StringSource
HTML name for Input_Type
.