After I changed my practise of embedding code into my posts we’re finally valid again – even on the front page. Previous use of pre tags for whole paragraphs of code had caused Worpress to insert p tags into pre tags, which is not allowed.
I’m now using an innovative approach to embedding code using an ordered list. I spotted that practise on an other site and adopted it immediately. A Hello World example is provided below.
<?phpecho 'Hello World';?>
Hope you like the new style. I think it’s definetly an improvement.
Shameless plug: If this post was useful to you, please consider buying yourself something from one of my Amazon stores: US store, UK store, FR store, DE store, CA store. If you're not into Amazon, why not donate something to GNOME, Mozilla or Wikipedia? Thank you!


