Revision 2365038 of "PlanoTse Handbook for Job Search Automation/Mixing PlanoTseScript with HTML" on enwikibooks

{{Navigate|Prev=Ordered List in HTML|Next=Creating a Testbed}}
__NOTOC__
:[[PlanoTse Handbook for Job Search Automation/PlanoTseScript|Chapter 5]]
== Mixing PlanoTseScript with HTML ==

You can mix your source code in [http://planotse.wordpress.com/2012/06/17/planotsescript-web-search-scripting-language/ PlanoTseScript] with your source code in HTML. If you do not want your source code in [http://planotse.wordpress.com/2012/06/17/planotsescript-web-search-scripting-language/ PlanoTseScript] shows up in your HTML output, mark it up as a comment in HTML. The example below shows both cases in blue and red. You do not need to use the comment tags (in red) if you only need to program in [http://planotse.wordpress.com/2012/06/17/planotsescript-web-search-scripting-language/ PlanoTseScript] and don't worry about any HTML output.

To have such an ordered list, you need to use ordered-list tag (ol) as well as list-item tag (li) in HTML as shown in the following box, ''HTML for Your Ordered List'':
<center>{{robox|theme=3|width=70%|title=HTML for Your Ordered List}}
&lt;ol>
:&lt;li>This is your paragraph. <font color=red>'''&lt;--'''</font> <font color=blue>'''{ say hello; }'''</font> <font color=red>'''-->'''</font>
:&lt;li>&lt;font color=blue>You want to have a blue sentence.&lt;/font> 
:&lt;li>&lt;font color=red>You also want to have a red sentence.&lt;/font>
&lt;/ol>
{{Robox/Close}}</center>

== Demo Section ==

Do the following steps:
# Open your Note item, which was created by the steps in the demo section in the previous topic.
# Press the '''Steps''' button.
# Insert the following source code somewhere in the input box: <font color=blue>'''{ say hello; }'''</font>
# Press the button '''Save & Close'''.
# Press the '''Run''' button and see the result of your code.



{{Yellow Warning|You need to include the curly brackets, '{' and '}', or your code in PlanoTseScript will not run.}}





{{message box|image=Right-pointing hand in green octagon.svg|backgroundcolor=Azure |heading=What to do now|message=Do the above steps then click on the link, ''First Lesson in PlanoTseScript'', for the next topic.}}




{{PlanoTse Handbook for Job Search Automation/shortestroute}}




{{Navigate|Prev=Ordered List in HTML|Next=Creating a Testbed}}