Should I put quotes around attribute values or not?
Answer / guest
It depends. It is never wrong to use them, but you don't
have to if the attribute value consists only of letters,
digits, periods and/or hyphens. This is explained in the
HTML 2.0 specs.
Oh, and keep in mind that if you use double quotes, you
should escape any quotes inside the value with """ so you
don't accidentally terminate the value prematurely.
| Is This Answer Correct ? | 0 Yes | 0 No |
how can we convert html server controls to webserver controls?
How do I create a hyperlink?
What is difference between session storage and local storage?
What is reset and submit buttons?
How to terminate a web worker?
What is the canvas element in html5?
What is a label tag?
What minimum things do you have to do in order to include bootstrap & boostrap js in a project/ html document.
Please tell How to add testimonial slider in website.
What does html stand for?
What is the div tag?
Is img an empty tag?