Typically, the values of the attributes of an HTML element are marked with a quotation mark, for example
<input type="hidden" value="test" />
Sometimes, however, you see code like
<input type='hidden' value='test' />
Is it valid HTML and can it cause any problems? How about mixing two for example
<input type='hidden' value="test">
?
source
share