Using HTML
The
best solution for delivering mobile content to your users is to create and publish a mobile-optimized site on an external server and use your code to link to its URL. This allows you complete control and flexibility. However, for "quick and dirty" web pages, our system allows you to use
most HTML 4+ tags as well as CSS as part of hosted content.
Our customer support team does not provide assistance for the design of HTML & CSS content.
Things you can do…
-
Use most HTML 4+ tags. Some common formatting tags you may want to use are: <strong> (to make content bold), <em> (to italicize), <br> (to create a line break), and <a> (to create links).
<strong>This text is bold followed by a line break</strong>
<br>
<em>This text is italicized followed by a line break</em>
<br>
<a href="http://www.smartytags.com">This is a link to SmartyTags</a>
-
Use styles defined either in a <style> tag or inline within other tags.
<style type="text/css">
.myclass { border: 1px solid #000; }
</style>
<div class="myclass">This div has a border because of the class</div>
<div style="border: 1px solid #000;">This div has a border too, but not because of the class</div>
-
Style the default wrapper. A default theme is placed around simple text and HTML content. If you would like to remove this wrapper and control the entire look and feel of your linked page, any use of the <body> tag will override the default wrapper. Adding CSS to the <body> allows almost complete customizability.
<body style="background-color:#000;">
This content has no default wrapper and a black background
</body>
Things you cannot do…
-
Use depreciated tags such as <b>, <i>, and <u> (among many others). However, if you disable the default wrapper by using the <body> tag, some or all of these will work again.
-
Upload image files for use in your content. Any images you call using the <img> tag will need to be hosted elsewhere and publicly accessible.
-
Use the <head> tag. Most of the useful things you would place in a header (like <link> and <meta> tags) can be placed at the top of your HTML and will still probably work.
-
Use JavaScript. All <script> tags will be removed automatically.
-
Have a custom URL. Your URL will be the one listed in the settings for your code and always starts with http://smartyt.ag/.