Only html attributes that are supported by all major email clients are listed here.
If you need something not that's included (and potentially not universally supported) use attribute
or style
.
These sources were used to determine what should be included: https://www.campaignmonitor.com/css/color-background/background/ https://www.pinpointe.com/blog/email-campaign-html-and-css-support https://www.caniemail.com/
Open an issue on github if something is missing or incorrectly included.
alt : String -> Internal.Attribute
attribute : String -> String -> Internal.Attribute
Use this if there's a attribute you want to add that isn't present in this module. Note that there's a risk that it isn't supported by some email clients.
backgroundColor : String -> Internal.Attribute
border : String -> Internal.Attribute
borderBottom : String -> Internal.Attribute
borderBottomColor : String -> Internal.Attribute
borderBottomStyle : String -> Internal.Attribute
borderBottomWidth : String -> Internal.Attribute
borderColor : String -> Internal.Attribute
borderLeft : String -> Internal.Attribute
borderLeftColor : String -> Internal.Attribute
borderLeftStyle : String -> Internal.Attribute
borderLeftWidth : String -> Internal.Attribute
borderRadius : String -> Internal.Attribute
borderRight : String -> Internal.Attribute
borderRightColor : String -> Internal.Attribute
borderRightStyle : String -> Internal.Attribute
borderRightWidth : String -> Internal.Attribute
borderStyle : String -> Internal.Attribute
borderTop : String -> Internal.Attribute
borderTopColor : String -> Internal.Attribute
borderWidth : String -> Internal.Attribute
color : String -> Internal.Attribute
fontFamily : String -> Internal.Attribute
fontSize : String -> Internal.Attribute
fontStyle : String -> Internal.Attribute
fontVariant : String -> Internal.Attribute
height : String -> Internal.Attribute
href : String -> Internal.Attribute
letterSpacing : String -> Internal.Attribute
lineHeight : String -> Internal.Attribute
padding : String -> Internal.Attribute
paddingBottom : String -> Internal.Attribute
paddingLeft : String -> Internal.Attribute
paddingRight : String -> Internal.Attribute
paddingTop : String -> Internal.Attribute
src : String -> Internal.Attribute
style : String -> String -> Internal.Attribute
Use this if there's a style you want to add that isn't present in this module. Note that there's a risk that it isn't supported by some email clients.
textAlign : String -> Internal.Attribute
verticalAlign : String -> Internal.Attribute
width : String -> Internal.Attribute