Spaces and equals signs
If you put spaces around equals signs, the browser will still render the page. However, if we talk about good manners, the less spacing the code has, the better. Less-spaced documents are easier to read and group related entities together. Plus, code with extra spaces looks cluttered and can confuse other developers who may read your code.
From Lesson
HTML Dos and Don'ts