Wordpress HTML coding standard for vertical spacing (space between HTML tags)?

Not sure I really follow you, but some examples.

. More.. Well formatted PHP Indentation used appropriately if( something ) { do_something() if( some_nested_condition ) do_something_else(); } Poorly formatted No indentation, harder to read if( something ) { do_something() if( some_nested_condition ) do_something_else(); } Formatting your code makes it easier to read, understand, or update/maintain(it's not something that will make a whole lot of sense until you start dealing with code on a regular basis). Then again, i'm not the best at explaining these things, so i'd suggest refering to information already available for the "why".. (i know my reasons).. Mixed PHP and HTML example Mock template loop, only for illustration My Website Heading.

Thanks for the good examples. In this case, I was wondering about how to properly nest HTML tags (the vertical space between elements). – alexchenco Dec 20 '10 at 9:42 It really depends on the code you're dealing with, but generally a single line of whitespace(i feel) is acceptable for seperating a PHP code block from a HTML code block(such as when you performing an iteration of some data where you're outputing HTML for each iteration).

– t31os Dec 20 '10 at 10:12 That said it depends what the code looks like, i'll add another example above with a mix of PHP and HTML, and show you how i'd personally format it.. – t31os Dec 20 '10 at 10:18.

I cant really gove you an answer,but what I can give you is a way to a solution, that is you have to find the anglde that you relate to or peaks your interest. A good paper is one that people get drawn into because it reaches them ln some way.As for me WW11 to me, I think of the holocaust and the effect it had on the survivors, their families and those who stood by and did nothing until it was too late.

Related Questions