Is there a specific order that HTTP tag attributes should be listed in?

后端 未结 2 1920
旧巷少年郎
旧巷少年郎 2020-12-20 20:44

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

相关标签:
2条回答
  • 2020-12-20 21:16

    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

    0 讨论(0)
  • 2020-12-20 21:25

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

    0 讨论(0)
提交回复
热议问题