Tag: inline

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: , , , , , , ,

Adding Style Sheets to Your HTML

This is part one of How To Add Style Sheets To Your HTML. We will cover the basics mostly, but the idea is that there are always multiple ways to do something, and many web designers do in fact vary their methods of how they add CSS to their html code.

Method 1: In the beginning…

This is by far the most common and the default way to add style to your html document. You simply link to your stylesheet in the HEAD section of your html document.

<head>

<link rel="stylesheet" href="http://www.domain_name.com/style.css" type="text/css" media="screen" />

</head>
<body>

The optional media specifies the medium or media to which the style sheet should be applied to. The most commonly supported media type is “screen”, which is meant for computer screens. There are other options though, like print, for output to a printer, and aural and braille for speech synthesizers and braille tactile feedback devices.

Continue reading

Filed under: CSSTagged with: , , , , , , ,