HTML Quotes

Single or Double Quotes:

Double quotes around attribute values are the most common in HTML, but single quotes can also be used.

In some situations, when the attribute value itself contains double quotes, it is necessary to use single quotes:

<p title=‘John”shotgun” Nelson>

or

<p title=“John’shotgun’Nelson>