html-minimalist-0.15: Minimalist haskell html library

Safe HaskellSafe-Inferred
LanguageHaskell98

Text.HTML.Light.Composite

Contents

Description

Composite constructors and constants.

Synopsis

Attributes

add_attrs_c :: [Attr] -> Content -> Content Source

Variant on add_attrs lifted to Content.

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

link_type_str :: Link_Type -> String Source

HTML name for Link_Type.

link_type_str Link_Stylesheet == "stylesheet"

link_ty :: Link_Type -> [Attr] -> Content Source

Variant on link with enumerated type value.

link_css :: String -> String -> Content Source

Set CSS stylesheet for given media.

link_rss :: String -> String -> Content Source

Set RSS alternate with given title.

Script elements

script_js :: String -> Content Source

Embed javascript.

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

input_ty :: Input_Type -> [Attr] -> Content Source

Variant on input with enumerated type value.

input_hidden :: String -> String -> Content Source

Hidden input with name and value.

input_submit :: String -> String -> Content Source

Submit input with name and value.