Safe Haskell | Safe-Inferred |
---|---|
Language | Haskell98 |
Text.HTML.Light.Composite
Description
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 -> Content Source
Set content-type
.
meta_author :: String -> Content Source
Set author
.
meta_description :: String -> Content Source
Set description
.
meta_viewport :: String -> Content Source
Set meta_viewport
.
Link elements
Enumeration of HTML5 link types.
link_type_str :: Link_Type -> String Source
HTML name for Link_Type
.
link_type_str Link_Stylesheet == "stylesheet"
Script elements
script_js_src :: FilePath -> Content Source
Source javascript.
Validators
w3_html_validator :: String Source
W3.org
HTML validator.
w3_css_validator :: String Source
W3.org
CSS validator.
w3_rss_validator :: String -> String Source
W3.org
CSS validator.
w3_rss_validator "http://haskell.org"
Input elements
data Input_Type Source
Enumeration of HTML5 input types.
Constructors
Hidden | |
Text | |
Search | |
Tel | |
Url | |
Password | |
DateTime | |
Date | |
Month | |
Week | |
Time | |
DateTime_Local | |
Number | |
Range | |
Color | |
Checkbox | |
Radio | |
File | |
Submit | |
Image | |
Reset | |
Button |
Instances
input_type_str :: Input_Type -> String Source
HTML name for Input_Type
.