Forum Moderators: open
I thought you use " when you have a quotation mark you want to be visible on your page. For example:
<p>
"Eighty percent of success is showing up." - Woody Allen
</p>
However, the w3c validator will let you get away with just using regular quotation marks:
<p>
"Eighty percent of success is showing up." - Woody Allen
</p>
So, my question is, "which one is right?" And if either is good, then why bother having a character entity to symbolize a quotation mark?
The only place I can think of where it is indeed required is within attribute value strings, which should be delimited by the quotes. One example is the URL string in a link:
<a href="http://www.example.com/an/url/with/a/"/char.html"> If you don't use the " within that string, then the parser will assume that the URL ends at the point where it finds the ".