First of all using inline style always is bad pratice. Inline styles should be
restricted to JS while dynamically manipulating the DOM.

Using the style tag for styles in the HEAD also is not best practice.

You should use 

<link rel="stylesheet" href="style.css">


If you would have an option to switch to inline styles instead of STYLE in the
HEAD and CLASS in the SPANs, where would you like to define your style rules?
Consider that a rule can persist of multiple property value pairs and a rule may
persist of multiple selectors.

_@Jan_

When I paste the code after "Export to Clipboard as HTML" there is no HEAD and
STYLE tag. Am I missing something?

After pasting code starts with

<pre>
  <code>
    <span style="font: 10pt Courier New;">

You can safely remove the surrounding SPAN with the style tag as browser use
monospace for PRE and CODE anyway. So you are not forcing to use this
font-family and size. Also with the PRE and the CODE we have two wrappers which
we can use to style the output wich is more than enough.

Is there some kind of CSS theme for the classes that PSPad generates?

-- 
<http://forum.pspad.com/read.php?2,64676,64689>
PSPad freeware editor http://www.pspad.com

Odpovedet emailem