1

<input type="text" name="name" value="n"tee">

Is there any way to show n"tee in the text box?

1 Answer 1

1

you can use special char:

&quot;

and your code will be:

<input type="text" name="name" value="n&quot;tee">

The double quote (") has special meaning inside a HTML attribute. If you want to put it into an input value, you must (this is not a true must but a good rule of thumb) write it as its entity &quot;. There is no way around it.

Sign up to request clarification or add additional context in comments.

1 Comment

@JasperJye yes, i checked it and i'm wrong, i'll edit the answer in just a sec

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.