Load Html
From UBot Studio
(Difference between revisions)
(→Example) |
|||
| (3 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: | + | 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> | ||
| + | |||
Running the command loads the html into the main browser window. | Running the command loads the html into the main browser window. | ||
| − | [[File: | + | |
| + | [[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.
