make code sample present better by rewrite html code and restyle
everything in code sample page.