Mad Mimi

Nurse Mimi is here to help!

“Simple and Beautiful email marketing” — Mashable

Try Mad Mimi Free!
Share
  • HTML Tricks and Tips

    Sometimes you reach a point where you need to do a little bit of customization and adding a small snippet of HTML is a neat way to spice up a promotion. We do stress the importance of not over-using these html tricks and tips. If you have many style changes to make, a custom theme is the way to go.

    Also, accuracy counts!  Always make sure you’re using the html snippets correctly. Proof read, look for typos and test before sending out your email to your subscribers :)

    Now, onto the tricks and tips…

    How to center a Section Title, Heading or Sub-heading
    How to change the font color within a paragraph
    How to change the font size within a paragraph
    How to change the font type within a paragraph
    How to combine multiple style changes
    How to Justify a paragraph

    1. How to center a Section Title, Heading or Sub-heading:

    2. The code: <center>This Will Center My Section Title</center>

      What to look out for: Make sure you “close” the tag at the end with a / like this: </center>

      Before:

      html tricks and tips 1: centering text

      After:

      html tricks and tips 1: centering, ta da!

    3. How to change the font color within a paragraph:

    4. The code: <span style="color:red">This text must stand out!</span>

      What to look out for: Make sure you “close” the tag at the end with a / like this: </span>

      Using a hex code: You can select an even more specific color by using the color’s “Hex code.” That’s a 6 character code that looks like this: #FF0000

      You can find a  list of codes here, or grab the exact code for a color on your website by using a color picker – For a PC or for a Mac.

      The code: <span style="color:#FF0000">This text must stand out!</span>

      Before:

      html tricks and tips 2 color change before

      After:

      html tricks and tips 2 color change after

    5. How to change the font size within a paragraph:

    6. The code: <span style="font-size:30px">Big Text!</span>

      Adjust the pixel number to change the size of the text. A smaller number makes the font size smaller and a larger number makes the font size bigger.

      What to look out for: Make sure you “close” the tag at the end with a / like this: </span>

      Before:

      html tricks and tips 3 size change before

       

      After:

      html tricks and tips 3 size change after

    7. How to change the font type within a paragraph:

    8. The code: <span style="font-family:verdana">Verdana text</span>

      What to look out for: Make sure you “close” the tag at the end with a / like this: </span>

      Before:

      html tricks and tips 4 font change before

      After:

      html tricks and tips 4 font change after

    9. Now, lets put it all together!

    10. The code: <span style="font-family:verdana; color:blue; font-size:30px">Some blue text that really stands out!</span>

      Before:

      html tricks and tips 5 combined changes before

      After (and done!):

      html tricks and tips 5 combined changes after

    11. How to justify A paragraph:

    The code: <p style="text-align:justify">Enter the paragraph here</p>

    What to look out for: Make sure you “close” the tag at the end with a / like this: </p>

    Before:

    html tricks and tips 6 justify before

    After:

    html tricks and tips 6 justify after