Load Html
From UBot Studio
				
								
				(Difference between revisions)
				
																
				
				
								
				|  (→Example) | |||
| Line 10: | Line 10: | ||
| <pre> | <pre> | ||
| − | load html("<html> <body style=\"background-color: | + | load html("<html> <body style=\"background-color:#E0FFFF;\">   | 
| − | <h2 style=\"background-color: | + | <h2 style=\"background-color:#FAF0E6;\">HELLO!</h2>   | 
| − | <p style=\"background-color: | + | <p style=\"background-color:#F5FFFA;;\">My apologies for shouting.</p>   | 
| </body>   | </body>   | ||
| </html> ") | </html> ") | ||
| − | |||
| </pre> | </pre> | ||
Revision as of 19:04, 15 May 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.
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.
