JAB Creations wrote:Those are elements, not tags. A tag is the starting or ending portion of an element therefore 99.9% of the time it is professional to refer to these as elements. The only condition I can think of that it would be professional to refer to a tag is if you're referring to self-closing elements (e.g. do I need a closing tag for the br or img elements?).
LOL will you stop whining about elements/tags?
Or write a sticky about it and be done with it. I bet you're putting people off and making them leave the forum by saying they're unprofessional for saying 'tag' - most people don't care and we still know what they mean.
JAB Creations wrote:Just apply the CSS white-space property as you see fit. Here is a slimmed down example from my website of how I handle the code element's formatting...
- Code: Select all
code {white-space: pre;}
div code {display: block;}
div p code, div span code, li code {display: inline;}
If the whitespace is important (e.g. in Python it's part of the syntax), then you should use <pre> rather than CSS since CSS is optional.