-
Notifications
You must be signed in to change notification settings - Fork 4
/
Copy pathexample.html
44 lines (32 loc) · 1.42 KB
/
example.html
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
{% extends "htmlemailer/example_template.html" %}
{% block extra_head %}
<style>
h1 {
font-style: italic;
}
</style>
{% endblock %}
{% block content %}
<h1>Hello</h1>
<p>Here’s your email!</p>
<p>{{my_message}}</p>
<h2>Explanation</h2>
<p>Edit this template!</p>
<h3>Examples from HTML Email Boilerplate</h3>
<!-- Tables are the most common way to format your email consistently. Set your table widths inside cells and in most cases reset cellpadding, cellspacing, and border to zero. Use nested tables as a way to space effectively in your message. -->
<table cellpadding="0" cellspacing="0" border="0" align="center">
<tr>
<td width="200" valign="top"></td>
<td width="200" valign="top"></td>
<td width="200" valign="top"></td>
</tr>
</table>
<!-- End example table -->
<!-- Yahoo Link color fix updated: Simply bring your link styling inline. -->
<a href="http://htmlemailboilerplate.com" target ="_blank" title="Styling Links" style="color: orange; text-decoration: none;">Coloring Links appropriately</a>
<!-- Gmail/Hotmail image display fix -->
<img class="image_fix" src="full path to image" alt="Your alt text" title="Your title text" width="x" height="x" />
<!-- Working with telephone numbers (including sms prompts). Use the "mobile" class to style appropriately in desktop clients
versus mobile clients. -->
<span class="mobile_link">123-456-7890</span>
{% endblock %}