Re: Does order of itemscope and itemprop matter?

On 5 January 2012 12:43, Mehershad Dahmubed <mehershad@gmail.com> wrote:

> Forgive me if this question sounds silly but there is a reason why I have to ask this.

It's a perfectly fine question to ask!

> I understand the syntax that is advertise is:
> <div itemscope itemprop="<value>">
>
> Due to the HamlPy library in current use on my system, even after my own fixes added, the library outputs:
> <div itemprop="<value>" itemscope>
>
> due to the way ast.literal_eval evaluates the dictionary key/value pairs. I don't why it swaps the order but that's where it stands.
>
> So I was curious if the order really mattered or where I stand right now is fine too?

It shouldn't matter. As I type this I see Jeni also replied :)

In general, if people have 'simple' questions like this, don't feel
bad about asking them since others are likely thinking the same thing.
It also helps standards folk understand how to improve the
documentation...

Dan

Received on Thursday, 5 January 2012 16:57:15 UTC