Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • Home
  • SEARCH
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 561787
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 13, 20262026-05-13T12:29:11+00:00 2026-05-13T12:29:11+00:00

I realize that VS200X can ident asp files properly, however, for the sake of

  • 0

I realize that VS200X can ident asp files properly, however, for the sake of ease in finding attributes, is there a tool that will also organize the attribute order within a tag alphabetically? I’m always scanning around a tag visually and if the attributes were sorted alphabetically, asides maybe from ID and runat which should remain first, I would have a much easier time.

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-05-13T12:29:12+00:00Added an answer on May 13, 2026 at 12:29 pm

    HTML Tidy

    You can set the set-attributes option in the config file to alpha, and all the attributes will be sorted alphabetically.

    Attribute: sort-attributes
    Type: enum
    Default: none
    Example: none, alpha

    This option specifies that tidy should sort attributes
    within an element using the specified sort algorithm.
    If set to “alpha”, the algorithm is an ascending alphabetic sort.

    Example config file (tidy.config):

    sort-attributes:alpha
    show-body-only:yes
    

    Example input file (test.html):

    <a href="2" class="1"></a>
    

    Executed command:

    tidy -config tidy.config test.html
    

    Results:

    <a class="1" href="2"></a>
    
    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I realize that you can use SoundPlayer to play a sound in C#; however,
I realize that it can depend on certain things (and obviously how efficient the
I realize that there are many questions similar to this one, but having looked
I realize that I can present modal view hierarchically. When present a several modal
I realize that handlers and modules are part of the asp.net lifecycle so my
I realize that this can be a matter of preference, but I have noticed
I realize that the answer is probably hardware specific, but I'm curious if there
I realize that every once a while when I create a website, there is
I realize that there are several c++ libraries, but I would greatly prefer C.
I realize that there is a (Sometimes significant) performance hit for creating, assigning, copying,

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.