Using HTML in "Custom Content" modules

To add HTML in a "Custom Content" module, copy that code and then click on the HTML button above the text field before pasting in your code. Sadly we only allow a small "safe" list of HTML elements and attributes - please see the list below for exact details:

ACCEPTABLE ELEMENTS:

a The <a> tag defines a hyperlink, which is used to link from one page to another.
b The <b> tag specifies bold text.
p The <p> tag defines a paragraph.
br The <br> tag inserts a single line break. 
span The <span> tag is used to group inline-elements in a document.
div The <div> tag defines a division or a section in an HTML document.
u The <u> tag represents some text that should be stylistically different from normal text, such as misspelled words.
em The <em> tag is a phrase tag. It renders as emphasized text.
i

The <i> tag typically specifies italic text.

strike The <strike> tag defines strikethrough text.
strong

The <strong> tag is a phrase tag. It defines important text.

style

The <style> tag is used to define style information for an HTML document. Inside the <style> element you specify how HTML elements should render in a browser. Each HTML document can contain multiple <style> tags.

blockquote

The <blockquote> tag specifies a section that is quoted from another source. Browsers usually indent <blockquote> elements.

ul The <ul> tag defines an unordered (bulleted) list.
ol The <ol> tag defines an ordered list. An ordered list can be numerical or alphabetical.
li The <li> tag defines a list item.
img The <img> tag defines an image in an HTML page.

ACCEPTABLE ATTRIBUTES:

name

The name attribute specifies the name of an anchor. The name attribute is used to create a bookmark inside a document. The href or the name attribute must be present in the <a> tag

href

The href attribute specifies the URL of the page the link goes to. If the href attribute is not present, the <a> tag is not a hyperlink.

rel

The required rel attribute specifies the relationship between the current document and the linked document/resource.

data_role The data attribute specifies the URL of the resource to be used by the object.
src The required src attribute specifies the URL of the image.
alt

The required alt attribute specifies an alternate text for an element (typically an image), if the element cannot be displayed. The alt attribute provides alternative information for an image if a user for some reason cannot view it (because of slow connection, an error in the src attribute, or if the user uses a screen reader).

border The border attribute specifies the width of the border around an element.

HTML LIMITATIONS:

HTML code is not supported by the description or title fields, and can only be used in the "Custom Content" in premium accounts.

Any elements or attributes not shown above are not permitted on Flavors and will be stripped from your content when you save your work.

Please note that we do not support Flash or javascript for security reasons. Any embeds with javascript or Flash will not work on Flavors.

 

Have more questions? Submit a request

0 Comments

Article is closed for comments.