Load Html

From UBot Studio
(Difference between revisions)
Jump to: navigation, search
(Created page with "This command will display whatever html code you place inside it in the browser window. Load html is a Browser Command. == Example == <pre> load html...")
 
(Example)
 
(4 intermediate revisions by one user not shown)
Line 2: Line 2:
  
 
Load html is a [[Browser Commands|Browser Command]].
 
Load html is a [[Browser Commands|Browser Command]].
 +
 +
'''HTML:''' Where the desired html is pasted for the purpose of rendering in the browser.
 +
  
  
Line 7: Line 10:
  
 
<pre>
 
<pre>
load html("<html> <body style=\"background-color:White;\">  
+
load html("<html> <body style=\"background-color:#E0FFFF;\">  
<h2 style=\"background-color:White;\">HELLO!</h2>  
+
<h2 style=\"background-color:#FAF0E6;\">HELLO!</h2>  
<p style=\"background-color:White;\">My apologies for shouting.</p>  
+
<p style=\"background-color:#F5FFFA;;\">My apologies for shouting.</p>  
 
</body>  
 
</body>  
 
</html> ")
 
</html> ")
 
 
</pre>
 
</pre>
 +
  
 
Running the command loads the html into the main browser window.
 
Running the command loads the html into the main browser window.
 +
 +
 +
[[File:loadhtmlcom.jpg]]

Latest revision as of 16:16, 15 September 2013

This command will display whatever html code you place inside it in the browser window.

Load html is a Browser Command.

HTML: Where the desired html is pasted for the purpose of rendering in the browser.


[edit] Example

load html("<html> <body style=\"background-color:#E0FFFF;\"> 
<h2 style=\"background-color:#FAF0E6;\">HELLO!</h2> 
<p style=\"background-color:#F5FFFA;;\">My apologies for shouting.</p> 
</body> 
</html> ")


Running the command loads the html into the main browser window.


Loadhtmlcom.jpg

Personal tools
Namespaces

Variants
Actions
Navigation
Toolbox