+ 1
why can't I use & in value in html? I want to display '&' sign.
Eg. <input value=''a & b.''>
3 Respuestas
+ 8
the attribute value us not in HTML format, so use normal '&' character will do the job.
+ 2
you can use it like for ampersand
& (it's respective hexcode) or the html code &
i tested both values and its Working fine
0
ohh. hehe. I overthought it. hehe. Thanks ya