html code snippets

use <code>...</code> for inline code snippets
use <pre>...</pre> for block code snippets

design your internal css styling
ref: http://w3schools.com/html/html_css.asp

for example, mine is
<style>
  code {background:lightgrey;padding:0px;color:black;}
  pre {width:99%;background:lightgrey;padding:0px;color:black;}
</style>

test in w3schools sandbox
http://w3schools.com/tags/tryit.asp?filename=tryhtml_pre

edit your blogspot template, and insert your internal css styling within the <head>...</head> tags

blogger --> Template --> Edit HTML

parse your code, if you see it interpreted
http://blogcrowds.com/resources/parse_html.php

No comments:

Post a Comment

most viewed