Change the input border color

You can change the input border color with CSS and its border attribute.

You can do this inside <style></style> blocks, in the external CSS file, or even inside the input element as the inline style.

Example:

<input type="text" style="border: 2px dashed black">

Output: