How do I chop/slice/trim off last character in string using Javascript? Not the answer you're looking for? It behaves exactly like the button tag. Get certifiedby completinga course today! is it that complicated ! i.e. Code Configurator. How do I create a Download button in HTML? Inside a <button> element you can put text (and tags like <i>, <b> , <strong>, <br>, <img>, etc.). Also tried to put the tag inside tag and still doesn't work. It can also override an ancestor