HTML code snippets for WordPress blogging

creative shot of the Eiffel TowerI’ve found it very useful to have a convenient stash of HTML/XHTML code snippets from which to copy and paste as needed while I’m writing blog content. These code snippets work just fine in WordPress; just make sure you’re in HTML mode and not Visual mode.

To name a section of content
<a name="resources"></a>

To set text color for H2 title: [ color codes: new window ]
<H2 style="color:#FF0000">

To set background color for blockquote section:
<blockquote style="background-color:#C6E2FF; padding:10px; margin:10px">

To set text color for blockquote section:
<blockquote style="color:#C6E2FF; padding:10px; margin:10px">

To display an image from our image collection:
Dispensed to friends and clients only due to server load issues

NOTE: For our list of HTML color codes shown as colored text, see Colored text: Add a dash of color to your blog content

Resources: Code snippets