create p tag javascript onclick code example Example: javascript button <button onclick="Function()">Text</button>