Adding Style via class attribute
Well this got to be a pita.
I found myself wanting to change style in the middle of a line but
not being able to find a way. <div> causes a line break and good old
depreciated <font> wouldn't validate!
It must be fully depreciated now :)
I am using xhtml 1.0 strict.
Anyhow I finally found <kbd> in the tag reference:
http://www.w3schools.com/tags/default.asp
It is supposed to be for keyboard like text?
It printed a little differently until I added a "font-family: inherit;" to it's style.
So now I have a tag I can use to insert styles midline.
Here is an example of <kbd> and usage of <style class='boo'>:
(examine the source - of course)
This text is
<div class='red'>
that blue was kbd class=m30 - this is plain kbd inherit which looks the same!
Here is another kbd comparison:
samp1
samp2
samp 3
samp4
samp5
In that one (and this):
1 is regular,
2 is kbd-inherit,
3 is regular
4 is plain kbd
and 5 is regular
hmm , I think 4 is slightly larger and darker
And btw , in xhtml strict:
change in midline
<font color='blue'> is illegal
and <u> is illegal;
and with .xhtml filename suffix , Firefox reports syntax parsing errors right the page instead of presenting the page in spite of the flaws! is good? is bad? ???