Using HTML in the Command Console

HTML or Hypertext Markup Language is a simple computer language that is used to create web pages and online content. There are some areas in the Command Console where you can use HTML to format or define the appearance of text and other elements.

Tip: If you are not familiar with HTML, we recommend you visit the HTML page on the World Wide Web Consortium (W3C) Web site. This topic is not meant to teach you how to use HTML, only to give you a reference and some guidelines for using it in the Command Console.

General Guidelines

There are technically no limits to the types of tags you can use with the exception that your HTML must be valid and syntactically correct. The following are some additional guidelines you should follow when using HTML in the Command Console. For a sample list of supported tags, see Supported HTML Code.

Symbol HTML Code
© ©
® ®
†
™

(long dash)
—
‘
’
“
”

Where You Can Use HTML

HTML can be used in the following places. Click a link to jump to the area that describes how HTML is used.

Using HTML in Offer Display Content

When you create an offer, you can use HTML in the offer Display Content.

Using HTML in Storefront Settings

When you create a product, you can use HTML when you enter descriptions and email text in the Storefront Details area to format the look of the text. For example, you can use HTML to make some description text bold or to create a unordered list of features for your product.

Note: Do not use the <meta> tag in Storefront Settings.

Using HTML in Styles

You can also use HTML in styles to set the look or feel of some elements.

Using HTML in Custom Pages

You can use HTML in the Custom Pages you create or upload for your site. When you are creating custom pages (either using the Store Builder tool, or another tool outside the Command Console) you should make sure that the HTML or XHTML you use is valid and error-free. There are technically not limits on the code you can use but keep in mind that you should only use static content in custom pages.

Note: You do not have to include the actual <body> tags because the files you create or upload will be loaded inside the body content for the page.

Using HTML in Custom Product Attributes

If the site or company uses Custom Product Attributes (also called domain attributes), any text inputs or text fields for those attributes can accept HTML code.

Supported HTML Code

There are several places in the Command Console where you can use HTML to format text. We cannot provide an extensive HTML reference here, but we have included a summary of the HTML code you can use in Storefront Settings, custom pages, offer display content, custom product attributes, and styles.

  • <p> </p>
  • <h1> <h2> <h3> <h4> <h5> <h6>
  • <strong> </strong>
  • <em> </em>
  • <ul> <li> </li> </ul>
  • <a> </a>
  • <img src... />
  • <br />
  • <html> </html>
  • <head> </head>
  • <link>
  • <meta> (do not use this tag in Store Details)
  • <title> </title>
  • <script> </script>
  • <form> </form>
  • <input>
  • <select>
  • <textarea>

 

Concept Link IconRelated Topics

 

 


© 2019 Digital River, Inc.