Skip to content Skip to sidebar Skip to footer

Is There A Specific Order That HTTP Tag Attributes Should Be Listed In?

Should the attributes of any particular HTML tag be listed in a specific order? Is there a convention for the order? For example, I have the following image tag in an HTML strict

Solution 1:

No there isn't, but anyway you should follow make your own standard and follow it


Solution 2:

Nope not at all, the order doesn't matter. I tend to put attributes in the same order in my pages, just for consistency but it's isn't needed


Post a Comment for "Is There A Specific Order That HTTP Tag Attributes Should Be Listed In?"