HTML Workflow Emails and Pages
Back to current versionRestore this version

HTML - Understanding HTML Basics - Workflow Emails and WAMII Pages.#


TABLE_OF_CONTENTS

What is HTML?#

Hypertext Markup Language, a standardized system for tagging text files to achieve font, color, graphic, and hyperlink effects on World Wide Web pages. This standardized system is not limited to web pages but can also be used for emails. Personality allows Workflow emails to be produced and now those emails can be formatted using HTML and CSS coding to achieve a more refined look.

What is CSS?#

CSS is the language for describing the presentation of Web Pages or in this case Personality HTML Workflow Emails. It is used in conjunction with HTML to control the layout, fonts, and colors. HTML has its own tags which can do the basic functions for formatting however CSS can allow your Personality emails to be more robust.

HTML Formatting#


Email Structure Tags#

Every HTML email produced by Personality should have the following basic tags.

All tags used in an email must also have an “End Tag”. This identifies when the specified tag is supposed to end. For example, <html> is the tag that identifies the following text should be consider HTML formatted text. At the end of the document you would want to put an </html> to tell the email that the HTML formatted text has ended. Another example of this would be <p>. The <p> tag identifies that a paragraph has begun. At the end of the paragraph you would put a </p> to tell the email the paragraph has ended.

Email Structure Example#

Email_Structure_example.png

Data / Text Formatting Tags#

TAGUsageExamples and Additional Information
<p> </p>Begins and Ends a Paragraph
<br> Produces a Line break. (Goes to next line)
<h1> </h1>Begins and Ends a header/heading You can make additional headers such as <h1>, <h2>, etc.
<b> </b> All test within the <b>.....</b> will be bold
<i> </i> All text within the <i>....</i> will be italicized
<u> </u> All text within the <u>....</u> will be underlined
<img src="FULL URL" /> This inserts an image into you html email When inserting images into emails you can align the image to the left or the right side by adding 'align=left' or 'align=right'. Example, <img src="http://www.highlinecorp.com/image1.jpg align=right />
<a href="URL">….</a>Create a hyperlink to the URL specified. Must be ended with a </a>. All text between the URL and the </a> will be turned into a clickable link.Example, <a href="http://www.highlinecorp.com">This text is a link to High Lines Official Website</a>
<a href="mailto:EMAIL_ADDRESS">clickable text</a>Replace EMAIL_ADDRESS and clickable text with the email address of the person you want to create the hyperlink for. Creates a hyperlink to an email address. This will open your default mail client and start a message to the specified address.

Building Tables in HTML#

TAGUsageExamples and Additional Information
<table border=1 width=500> </table>Creates a Table. With a border thickness of 1 pixel and width of 500 pixels<table border=?> Sets the width of the border around table cells.
<table width=?> Sets width of the table in pixels or as a percentage
<tr> </tr><tr> begins the table row. At the end of the row (after you put in your cells of data) you would end the row with a </tr> tagCreates a row. This row would be followed by the tag <td>…</td> which creates a cell in the row. When you want to start a new row of cells you would create another <td>…</td> set of tags.
<td> </td><td> cell text here</td> would create one cell of text within a row (<tr>…</tr>)Creates a cell within a row and puts text in the cell that is between the tags <td>…</td>
<th></th>Table HeaderThis is a normal cell with Bold and Centered Text.

CSS Formatting#

What is CSS formatting used for and is it mandatory?#

CSS formatting is used to add additional formatting features not offered in just HTML. When creating more complex HTML Emails it is recommended to use CSS for all you’re styling as it makes things easier to configure in the long run. CSS is not mandatory for all HTML Emails. If you are creating a simple HTML email it is recommended to use basic HTML tags to format your email messages.

CSS Structure#

CSS_FIG1.png

The CSS formatting tag is called <style>. It belongs right after the <html> tag and ends when you are finished defining your styles. Within the <style> tag you will create tags such as <h1> for your header style settings and <p> for your paragraph style settings. By creating styles for headers and paragraphs you ensure that every time you reference that <p> tag the email will know to use the settings you have specified in the style tag.

Example An Example of simple CSS Style can be seen below.

CSS_FIG2.png

In this example we have created a style tag called “h1”. This tag has been configured so that it uses the font “Segoe UI”, has a font size of 23 pixels, the text is aligned to the left side of the screen, and the color has been set to red. Now that is has been configured every time we open a <h1> tag in an email it will use the above listed parameters until it is ended by using the </h1> tag.

HTML/CSS Examples and Results#