# HTML Problem occurs

**URL:** <https://forum.universal-robots.com/t/html-problem-occurs/216>\
**Category:** URCap Development\
**Created:** [September 5, 2016, 6:22pm UTC](https://forum.universal-robots.com/t/html-problem-occurs/216 "2016-09-05T18:22:39Z")\
**Posts on this page:** 6\
**Page:** 1

<div class="post-metadata">

**Author:** ![anon2960714](https://avatars.discourse-cdn.com/v4/letter/a/bbce88/32.png) [@anon2960714](https://forum.universal-robots.com/u/anon2960714)\
**Post date:** [September 5, 2016, 6:22pm UTC](https://forum.universal-robots.com/t/html-problem-occurs/216/1 "2016-09-05T18:22:39Z")

</div>

I get an error with my programnode.html file. I “checked” it by opening it with firefox, but URSim doesn’t work.

Do I have to define all “variables” from the html file in the java code?  
I just have the get and set method for the direction input, the other ones are not complete yet. Could that be the issue?

 ![](https://us1.discourse-cdn.com/flex020/uploads/universal_robots/original/1X/f6fa663154a78f6d33f107723ebe96fe14bafa05.jpg)

[programnode.zip](https://cdck-file-uploads-us1.s3.dualstack.us-west-2.amazonaws.com/flex020/uploads/universal_robots/original/1X/b386ccf6e3f5f4059732d13e33805bf01518f45f.zip) (812 Bytes)

---

<div class="post-metadata">

**Author:** ![anon87661449](https://avatars.discourse-cdn.com/v4/letter/a/2bfe46/32.png) [@anon87661449](https://forum.universal-robots.com/u/anon87661449)\
**Post date:** [September 5, 2016, 8:03pm UTC](https://forum.universal-robots.com/t/html-problem-occurs/216/2 "2016-09-05T20:03:38Z")

</div>

> [@](#):
>
> Do I have to define all “variables” from the html file in the java code?

No.

> [@](#):
>
> Could that be the issue?

No.

In your html code are multiple errors. I would try to remove one thing by another, until it works. Also have a look at appendix A in the URCap-manual.  
Not everything is allowed in URCap. At first glance I see `<form>` not as a child of `<body>`. Also`<button>`, which isn’t supported. (and some more errors (hint: nesting level of `<h3>` and `<h4>` and its children).

BTW: typo: `Standart`😉

---

<div class="post-metadata">

**Author:** ![mbush](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.universal-robots.com/mbush/32/76_2.png) [@mbush](https://forum.universal-robots.com/u/mbush)\
**Post date:** [September 6, 2016, 11:10pm UTC](https://forum.universal-robots.com/t/html-problem-occurs/216/3 "2016-09-06T23:10:17Z")

</div>

I had similar issues when using unsupported CSS styling. Once I followed the API docs everything worked.

---

<div class="post-metadata">

**Author:** ![anon56768598](https://avatars.discourse-cdn.com/v4/letter/a/91b2a8/32.png) [@anon56768598](https://forum.universal-robots.com/u/anon56768598)\
**Post date:** [July 26, 2017, 1:49pm UTC](https://forum.universal-robots.com/t/html-problem-occurs/216/4 "2017-07-26T13:49:39Z")

</div>

hi where can i find the API doc you have mention here ？

---

<div class="post-metadata">

**Author:** ![anon16416181](https://avatars.discourse-cdn.com/v4/letter/a/5f8ce5/32.png) [@anon16416181](https://forum.universal-robots.com/u/anon16416181)\
**Post date:** [July 26, 2017, 2:12pm UTC](https://forum.universal-robots.com/t/html-problem-occurs/216/5 "2017-07-26T14:12:53Z")

</div>

@anon56768598 check this post [Download URCaps SDK - #10 by jbm](http://forum.universal-robots.com/t/download-urcaps-sdk/19/10). Download the SDK; you will find a PDF file inside the `doc` folder called `urcap_tutorial`. The allowed HTML tags are specified there.

---

<div class="post-metadata">

**Author:** ![anon56768598](https://avatars.discourse-cdn.com/v4/letter/a/91b2a8/32.png) [@anon56768598](https://forum.universal-robots.com/u/anon56768598)\
**Post date:** [July 26, 2017, 2:20pm UTC](https://forum.universal-robots.com/t/html-problem-occurs/216/6 "2017-07-26T14:20:54Z")

</div>

Thanks , i have already found it ! 😃😃😃
