Ranter
Join devRant
Do all the things like
++ or -- rants, post your own rants, comment on others' rants and build your customized dev avatar
Sign Up
Pipeless API
From the creators of devRant, Pipeless lets you power real-time personalized recommendations and activity feeds using a simple API
Learn More
Comments
-
drewbie7765yI would keep class on the <i line, and then indent the aria and click one time. Then put the ending </i> on the (click) line. -
asgs109125yAren't there tools to reformat the code as part of precommit hooks or a build step to enforce this? -
This is good formatting for XML as they are for storing data and this makes it Readable, for HTML it's not very useful.
Are you sure you have set correct formatting mode? -
I’ll sometimes break out HTML like this if I have a lot of attributes on something like if I’m using AOS.
Related Rants

What only relying on JavaScript for HTML form input validation looks like
Yeah no
Hey, have you ever wanted to punch a developer 8611 times before?
I might be bad at indenting, ok, but THIS...
THIS is one of the worst thing I've ever seen for HTML
rant
indentation
html