[uf-discuss] Quick formatting question

Micky Hulse mickyhulse.lists at gmail.com
Sat Jun 9 16:40:36 PDT 2012


Hi Stephen, thanks again for the help, I really appreciate it. :)

On Sat, Jun 9, 2012 at 3:05 PM, Stephen Paul Weber
<singpolyma at singpolyma.net> wrote:
> There's a difference between "sufficient" and "the best".  When you have no
> choice, the fn heuristic is nice, but I personally always prefer explicit
> markup.

Cool! So it would not be totally against the rules/standards if I were
to use two span classes to wrap the first/last names. That would be
optimal for my situation (it would allow me to ditch the <br>). :)

> Ah!  Well, in HTML5 there's usually no reason to use anything except <h1>,
> just use nested <sections> (<h1> has been redefined to mean "top level
> heading in the current section", so <h6> is equivalent to an <h1> six-levels
> deep), though that may require a lot of rewriting for you, so don't sweat
> over it :)

Cool! I am still in the testing stages, so it's going to be easy for
me to change things up. Thanks for tip(s)!

> The space-before-slash  <tag /> self-closing style works just fine in
> HTML4.01 and HTML5 processors (the space is there for compatability with
> some such parsers).  It has the advantage of *also* being legible by any XML
> parsers that might want to read your page.

Oh, I did not know that! Crazy, this whole time I have been avoiding
the closing slashes for HTML4.01 strict DTDs! Lol. :D

I'm glad that HTML5 is flexible enough to not care if you do/do not
use the space slash... You make a good point about the XML processors
though, I'll have to consider working that syntax back into my
routine.

Thanks again Stephen! Much appreciated.

Have a nice day.

Cheers,
Micky


More information about the microformats-discuss mailing list