html-minimalist-0.15: Minimalist haskell html library

Safe HaskellSafe-Inferred
LanguageHaskell98

Text.HTML.Light.Attribute

Description

HTML attribute constructors. Where an attribute name conflicts with a haskell keyword the attribute name is written with a prime suffix, ie. class'. Where an attribute name conflicts with an element name the attribute name is written likewise.

Synopsis

Documentation

mk_bool_attr :: String -> Attr Source

Make an Attr where the key and value are equal.

class' :: String -> Attr Source

Prime suffixed since class is a reserved word.

data' :: String -> Attr Source

Prime suffixed since data is a reserved word.

span' :: String -> Attr Source

Prime suffixed since span is the name of both an attribute and element.

style' :: String -> Attr Source

Prime suffixed since style is the name of both an attribute and element.

title' :: String -> Attr Source

Prime suffixed since title is the name of both an attribute and element.

type' :: String -> Attr Source

Prime suffixed since type is a reserved word.