Skip to content

Commit dd12a60

Browse files
Update README.md
1 parent f4693a7 commit dd12a60

File tree

1 file changed

+4
-3
lines changed

1 file changed

+4
-3
lines changed

README.md

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -11,11 +11,12 @@ in order to use the libary use th <code>import cavnascript</code>
1111
## Creating a HTML page
1212
first Let's Create a HTML page that Java can use.
1313

14-
14+
<code>
1515
import canvascript.htmldoc;
1616
class examlpe001{
1717
htmldoc page = new htmldoc();
18-
<b>htmldoc.CreateHTML(pageName,pageTitle);</b>
18+
<b>htmldoc.CreateHTML(pagePath,pageName,pageTitle);</b>
1919
htmldoc.CloseHTML();
2020
}
21-
21+
</code>
22+
the <code><b>htmldoc.CreateHTML();</b></code>it takes a few parameters.pagePath is the folder of the page.pagePath is the name of the page.then pagePath is the text in the <code>&lt;title&gt;</code>code>.the function creates the page but not fully,enable other functions to add code.this is when <code>htmldoc.CloseHTML();</code>

0 commit comments

Comments
 (0)