Re: Does order of itemscope and itemprop matter?

On 5 Jan 2012, at 06:43, Mehershad Dahmubed wrote:
> 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?


The order of attributes in HTML doesn't matter.

Jeni
-- 
Jeni Tennison
http://www.jenitennison.com

Received on Thursday, 5 January 2012 16:54:51 UTC