thedaviddias / Front-End-Performance-Checklist

🎮 The only Front-End Performance Checklist that runs faster than the others

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Remove closing slash on void tags

carlotrimarchi opened this issue · comments

commented

Since in html5 the closing slash on void tags, such as in:

<img src="my-image.jpg" alt="cat picture"/>

is not mandatory, wouldn't it be better to remove it from the examples and actually add it as a low priority reccomendation in the same way it's reccomended to remove unnecessary attributes?

You're right yes. Do you think better to amend the "unnecessary attributes" rule or create a new one?

commented

To me a separate rule would be clearer. Even though both rules deal with unnecessary stuff, their scope is different

Agree, do you want to suggest a PR?

This issue has been automatically marked as stale because it has been open 40 days with no activity. Remove stale label or comment or this will be closed in 10 days. Thank you for your contributions!

This issue was closed because it has been stalled for 10 days with no activity. You can always contact the maintainers directly for more information.