Email for Data Science
  • User Guide
  • Reference

mjml.navbar_link

mjml.navbar_link(attributes=None, content=None)

Create an MJML <mj-navbar-link> tag.

This is an ending tag that accepts text/HTML content but not MJML children.

Parameters

attributes : Optional[TagAttrs] = None

Optional dict of tag attributes

content : Optional[str] = None

Text or HTML content for the tag

Returns

: MJMLTag

MJMLTag object representing

Examples

With content: navbar_link(content=“Hello”)

With attributes and content: navbar_link(attributes={“color”: “red”}, content=“Hello”)