प्रीमियम कोर्सक्या आपको adsense अकाउंट की आवश्यकता हैयहाँ क्लिक करें

Code Snippet Blogger Blog Pe Kaise Lagaye

Code Snippet Blogger Blog Pe Kaise Lagaye

What is code snippet ?

Snippet ek programing term hai jaha hum apne blog pe ya kisi website pe kisi bhi programe ka scource code ke bare mein logo ko define karte hai.


Agar aapko HTML & CSS pata hai to aap khud se code snippet in html pe bana kar apne blogspot blog pe use kar sakte hai.

Blogger Ke New UI mein aapko Code Snippet ka option rollout kiya gaya hai ab aapko apne kisi bhi blogger posts pe Code Snippet ko use karne ke liye koi coding karne ki zaruarat nahi hai aap niche diye gaye process ke zariye iska prayog kar sakte hai.


New Method 


How to Use Code Snippet in Blogspot Blog

Code Snippet Blogger Blog Pe Kaise Lagaye


  • Step-1 Posts Pe jay Jis post pe aapko Code Snippet ka prayog karna hai 
  • Step-2 ab uss word ko select kar le jise aapko Code Snippet pe daalna hai.
  • Step-3 ab aap right side menu pe ja kar Format as Code option ko select kar save ya Publish kar de.


Hai Na bahut he aasan Tarika Code Snippet kaa prayog blogger/blogspot blog pe karna.




OLD METHOD

Code snippet CSS style and HTML ka ek combination hai Example ke Liye Niche diye gaye Image pe Dekh sakte Hai:-


Code Snippet Blogger Blog Pe Kaise Lagaye
Image Source: Wikipedia



Blogger blog pe aap Snippet ka use niche diye gaye code ko use kar kar sakte hai, Mere blogger template pe already Code Snippet ready hai so mujhe extra se koi bhi coding nahi karta pada


< p r e> YOUR SOURCE CODE< / p r e >


Blogger Blog pe snippet use karne ka Sabse best tarika hai aap Sora Templates Use kare jaha aapko code snippets inbuilt pe mil jata hai.


Adding code snippet in blogger :

Step 1:


Niche diye gaya sare source code ko Blogger > theme > edit theme  pe ja kar find
ke upar saare code ko past kar dena hai aur phir save kar de.





Step-2


Save ho jane ke baad aapke jis blog post pe snippet ka use karna hai uss page pe jaye aur HTML pe click kar niche diye gaye code ko past kar de.
< pre class=" brush:  csharp"

// Paste Your code here

< / pre >


// Paste Your code here iss jageh pe aapko apna Source code daalna hoga.


Aapka Blogger blog pe snippets ready ho gaya.

Hai na bahut he assan Blogspot blog pe snippets code insert karna Hope ye article aapko pasand aayega.

टिप्पणी पोस्ट करें

0 टिप्पणियां