Warning: Use of undefined constant REQUEST_URI - assumed 'REQUEST_URI' (this will throw an Error in a future version of PHP) in /var/www/u0482379/public_html/techkristal.com.ng/wp-content/themes/nanomag/functions.php on line 73
Displaying HTML CSS or JAVASCRIPT Coding in Blogger post - Techkristal Displaying HTML CSS or JAVASCRIPT Coding in Blogger post - Techkristal

Displaying HTML CSS or JAVASCRIPT Coding in Blogger post

17
How To Display HTML, CSS, JavaScripts Codes in Blogger Post
 This is one of the common problem faced by many Blogger (Blogspot) users. Still many Blogspot users are unable to discover why they cannot display HTML coding as plain text in there posts.
So in this tutorial,  I will show you how you can easily insert any HTML-CSS-JAVASCRIPT  coding in you Blogger Posts. We will insert all of our HTML codes in a Stylish Box which will make our coding look different from the all other text present in our post.

Here is a perfect example 

  Displaying HTML CSS or JAVASCRIPT Coding in Blogger post

First we will insert the CSS style Sheet to stylize our quote box.
  • Go to Blogger >> Your Blog >>Template >> EDIT HTML >> Proceed 
  • And now Search For ]]></b:skin> With (CTRL+F)
  • After you find ]]></b:skin> just above it paste the following coding

.post blockquote {

background: #C8EFFF url(http://2.bp.blogspot.com/-jSiMPSsf6Rs/T4lHasB89hI/AAAAAAAABM4/nKdZmTXYrto/s1600/1.png);

background-position:top left;

background-repeat:repeat-y;

margin: 0 20px;

padding: 10px 20px 10px 45px;

border-top: 2px solid #DDD;

border-right: 5px solid #666;

border-left: 2px solid #DDD;

border-bottom: 5px solid #666;

font-size: 0.9em;

}

.post blockquote p {

margin: 0;

padding: 0 0 15px;

}

.blockquote {

font: 18px normal  sans-serif,Tahoma;

padding-top: 10px;

margin: 5px;

text-indent: 65px;

}

.blockquote div {

display: block;

padding-bottom:10px;

}

.blockquote p {

margin: 0;

padding-top:10px;

}
  • Now After pasting the above code save your template by pressing Save Template Button


 Displaying HTML CSS or JAVASCRIPT Coding in Blogger post

Now in order to display the HTML, CSS or JavaScript coding in your Blogger post we’ll use a blogger tool called “QUOTE”. This tool is available in your Blogger Post Editor which will make your HTML Coding appear as plain text,
  • First Go To Blogger >> Your Blog >> Create a New Post >>
  • Now Just paste the HTML, CSS or JavaScript coding in the Blogger Post editor 
  • Now Select the HTML, CSS or JavaScript coding which you pasted previously.
  • Now After Selecting the HTML, CSS, or JavaScript coding just Press the “QUOTE” button Which is at the “Top Right” of you “Blogger Post Editor Tool Bar”
  • Publish your Post. 

And Now go to your blog post and it will give a picture perfect finish. So that’s how you can Display HTML, CSS or JavaScript coding in Blogger Posts.  If you Feel any Difficulties feel free to ask.




Leave a Reply

Your email address will not be published. Required fields are marked *

This site uses Akismet to reduce spam. Learn how your comment data is processed.

error: Content is protected !!