# Howto include JSXGraph into web pages

## Including JSXGraph into HTML

For including JSXGraph into HTML, three files are necessary:

You can either download these three files and use the local copy or you can use the online version.

### Usage of a local copy

If you want to include a local copy of JSXGraph in your HTML file then you have to write the following lines into the document head:

<head>
<script type="text/javascript" src="prototype.js"></script>
<script type="text/javascript" src="jsxgraphcore.js"></script>


### Usage of the online copy

If you want to include the online of JSXGraph in your HTML file then you have to write the following lines into the document head:

<head>
<script type="text/javascript" src="http://jsxgraph.uni-bayreuth.de/distrib/prototype.js"></script>
<script type="text/javascript" src="http://jsxgraph.uni-bayreuth.de/distrib/jsxgraphcore.js"></script>

 <div id="jsxgbox" style="width:500px; height:500px;"></div>