Tag: w3

Inline Quotations

Short inline quotations can actually be incorporated into your html via the q tag. This allows you to skip the actual quotations marks.

<p>
Steve Jobs told us, 
<q> lang="en-us">design is not just what it looks like and feels like, design is how it works.</q>
</p>

Note that it is also a good idea to add the lang attribute when using q elements.

You can use the lang attribute other tags such as the paragraph tag, if for example you had one paragraph in a different language than your document.

Filed under: XHTMLTagged with: , , , , , , ,