সরাসরি প্রধান সামগ্রীতে চলে যান

what is seo and how it works

html pre tag কি? এবং pre tagএর ব্যবহার ।

 Html <pre> tag  কি?

আমরা এইচটিএমএল কোড  এর মধ্যে লাইন ব্রেক বা স্পেস ব্যবহার করি তাহলে out put এ কোন প্রভাব ফেলে না।


কিন্তু আমাদের অনেক সময় প্রয়োজন হতে পারে আমরা যেভাবে লেখাটা লিখব টিক একইভাবে আউটপুট টা দেখাবে সেক্ষেত্রে আমাদেরকে <p> tag এর পরিবর্তে <pre> tag ব্যবহার করতে হবে। 



নিচে <p> tag এবং <pre> tag এর উদাহরণ দেয়া হল। 



<p> ট্যাগ এর ব্যবহার


<!DOCTYPE html>


<html>

<head>

   <title>what is html </title>

</head>

<body>

   

   <pre> coxbza see beach is the most popular torisam area

       in bangladesh</pre>


 </body>

</html>


এটা যদি আমরাctrl+s  দিয়ে সেভ করি এবং ব্রাউজার দিয়ে ওপেন করলে আউটপুট দেখাবে এরকম


coxbza sea the beach is the most popular torisam area

       in Bangladesh


<pre> ট্যাগ এর ব্যবহার


এখন<p> tag এর পরিবর্তে <pre> tag ট্যাগ ব্যবহার করি তাহলে আউটপুট দেখাবে এরকম


<!DOCTYPE html>

<titel> </titel>

<html>

<head>

    <pre>

                             Lorem Ipsum is simply dummied text 

                                                of the printing and typesetting industry.

                                                             Lorem Ipsum has been the industry's standard

                                                                          dummy text ever since the 1500s

 

             </pre>


</head>

<body>

   

   <pre> </pre>

 </body>

</html>


ctrl+s  দিয়ে সেভ করলে আউটপুট টা আসবে এরকম


          Lorem Ipsum is simply dummied text 

                        of the printing and typesetting industry.

                                 Lorem Ipsum has been the industry's standard

                                                                         dummy text ever since the 1500s

                                              



আজ এই পর্যন্তই। ধন্যবাদ।

মন্তব্যসমূহ

এই ব্লগটি থেকে জনপ্রিয় পোস্টগুলি

Html Font tag কি? এবং Font tag এর ব্যবহার।

html Font tag এর ব্যবহার font tag এর ব্যবহার এর মাধ্যমে ওয়েব পেইজের টেক্সট এর সাইজ, স্টাইল, কলার এর  সঠিক আকৃতি দিয়ে ওয়েব পেজকে সুন্দর করে উপস্থাপন করা যায়। Font tag এর তিনটি এট্রিবিউট রয়েছে যথা Font Size  Font color Font face Font size এর ব্যবহার সাইজ এট্রিবিউট ব্যবহারের মাধ্যমে ফন্ট এর সাইজ নির্ধারণ করা হয়। fontএর স্ট্যান্ডার্ড মান হচ্ছে 1 থেকে 7 পর্যন্ত। এক হচ্ছে সব থেকে ছোট সাইজ আর 7 হচ্ছে সবথেকে বড় সাইজ। Font size 3 হচ্ছে ফন্টে ডিফল্ট সাইজ। <font size="3" color="blue"> </font> Font color এর ব্যবহার Color attributed   সাহায্যে তোমার পছন্দমত ফন্টের কালার দিতে পার। color name বা color code ব্যবহার করেও তোমার  পছন্দের কালার দেওয়া পার।  <font color="#990000">bangladesh is a beautiful country</font> <br /> <font color="blue"> bangladesh isbeautiful country </font> Font face এর ব্যবহার ফন্ট ট্যাগ ব্যবহারের মাধ্যমে টেক্সটে সাইজ কি রকম হবে তা নির্ধারণ করা হয়। <font face="verdana" color=...

Html এর text formatting কি? এবং text formatting কিভাবে করব।

প্রিয়  শিক্ষার্থীরা আজ আমরা শিখব এইচটিএমএল টেক্সট ফরমেটিং সম্পর্কে। আমরা এইচটিএমএল এ বিভিন্ন ধরনের কনটেন্ট লিখে থাকি। অনেক সময় এসব কনটেন্ট এর টেক্সট ফরমেটিং করার প্রয়োজন পড়ে। এইচটিএমএল এ কিছু টেক্সট ফরমেটিং এলিমেন্ট রয়েছে এগুলো ব্যবহারের মাধ্যমে কনটেন্টকে সুন্দরভাবে ফুটিয়ে তোলা যায়। তাহলে চলো শুরু করা যাক। <html> <head>    <title> best out sourcing institute bd</title> </head> <body> <p> <b>best outsourcing institute bd 1</b></p> <p>.<i>best outsourcing institute bd2</i></p> <p><del>best outsourcing institute bd3</del></p> <p><u>best outsourcing institute bd 4</i></p> <p><b>best </b> <i>outsourcing</i> <del> institute bd</del></p> </body> </html> <b></b>, <strong></strong>  ট্যাগ ব্যবহারের মাধ্যমে একটি লাইন বা  শব্দ কে গাঢ় (মোটা) ব্যবহার ...