Let's say I have a span division such as

```
<span class="foodtype" id="food<%=category%>">

```

and I want to, in the HTML, remove white space from the category (e.g Fruit or Vegetable --> FruitOrVegetable) so that the ID doesn't contain spaces. How can I do this?

Also, could someone explain what the <%= %> refers to?