Spacing HTML code.
Hi everyone hope things are well. Is using spaces before and after the equals sign in my html ok?Will it cuase older or some types of browsers to break when reading the html. I'm self-tought python users and I wanted to carry over some of my ways of stylings.
<meta charset = "utf-8">
<style type = "text/css">
<h1 id = "elementA">
I have no idea, but I would suggest simply adopting the standard of <tag attr="value">, it's easier to work with code if you just adopt well know standards.
It won't cause any problems there other than not following best practice and add surplus unnecessary white space. Though in some circumstances and places; white space has meaning, or should be avoided in markup else it can cause issues.
Yeah, best not to do that, although browsers will forgive you if you do, it seems.