<p dir="ltr">Note that in order for DTDs to work, you should create an XHTML file, as they are handled by the XML parser. </p>
<p dir="ltr">Cheers, <br>
Ehsan </p>
<div class="gmail_quote">On 2013-09-10 5:18 PM, "Axel Hecht" <<a href="mailto:axel@mozilla.com">axel@mozilla.com</a>> wrote:<br type="attribution"><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
You should stick to DTDs for block-level elements, and inline elements should be inline.<br>
<br>
Also, separate code from style, i.e., don't embed onclick or URLs, but add them in an onload step.<br>
<br>
Axel<br>
<br>
On 9/10/13 5:08 PM, Paul Rouget wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
We want to introduce a "first run" screen in the App Manager [1].<br>
This screen will be some sort of wizard. It will help the user connect his<br>
phone or install the simulator. This screen will be a xhtml page.<br>
<br>
This screen will include many long strings with links in it. For example:<br>
<br>
```<br>
<p>We will try to connect your phone. Please follow the <a href="http://...">instructions on MDN</a>,<br>
and when you're ready and your phone is connected (USB), <button onclick="...">test your<br>
connection</button>.<br>
```<br>
<br>
I could use DTD, but I don't see how I can nest strings.<br>
<br>
Any idea what would the best thing to do here?<br>
<br>
[1]:<br>
<a href="https://developer.mozilla.org/en-US/docs/Mozilla/Firefox_OS/Using_the_App_Manager" target="_blank">https://developer.mozilla.org/<u></u>en-US/docs/Mozilla/Firefox_OS/<u></u>Using_the_App_Manager</a><br>
<br>
-- Paul<br>
______________________________<u></u>_________________<br>
firefox-dev mailing list<br>
<a href="mailto:firefox-dev@mozilla.org" target="_blank">firefox-dev@mozilla.org</a><br>
<a href="https://mail.mozilla.org/listinfo/firefox-dev" target="_blank">https://mail.mozilla.org/<u></u>listinfo/firefox-dev</a><br>
</blockquote>
<br>
______________________________<u></u>_________________<br>
firefox-dev mailing list<br>
<a href="mailto:firefox-dev@mozilla.org" target="_blank">firefox-dev@mozilla.org</a><br>
<a href="https://mail.mozilla.org/listinfo/firefox-dev" target="_blank">https://mail.mozilla.org/<u></u>listinfo/firefox-dev</a><br>
</blockquote></div>