Howdy, Stranger!

It looks like you're new here. If you want to get involved, click one of these buttons!

Categories

Is it possible to make a text input non-editable in HTML?

NickFNickF USAMember Posts: 132

I need to make a text input non-editable in my HTML form. How can I achieve this?

Comments

  • DavidMDavidM USAMember Posts: 342
    edited March 2014

    Yes it is possible.

    <input type="text" value="YourValue" class="yourclass" readonly>

Sign In or Register to comment.