If HTML were for machines it would be a binary format. It's text so it's meant for humans to read and write, and humans did both for years without it being a problem.