html-minimalist-0.14: Minimalist haskell html library

Safe HaskellNone

Text.HTML.Light.Attribute

Description

XHTML 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 -> AttrSource

Make an Attr where the key and value are equal.

class' :: String -> AttrSource

Prime suffixed since class is a reserved word.

data' :: String -> AttrSource

Prime suffixed since data is a reserved word.

span' :: String -> AttrSource

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

style' :: String -> AttrSource

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

title' :: String -> AttrSource

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

type' :: String -> AttrSource

Prime suffixed since type is a reserved word.