Customize Consent Preferences

We use cookies to help you navigate efficiently and perform certain functions. You will find detailed information about all cookies under each consent category below.

The cookies that are categorized as "Necessary" are stored on your browser as they are essential for enabling the basic functionalities of the site. ... 

Always Active

Necessary cookies are required to enable the basic features of this site, such as providing secure log-in or adjusting your consent preferences. These cookies do not store any personally identifiable data.

No cookies to display.

Functional cookies help perform certain functionalities like sharing the content of the website on social media platforms, collecting feedback, and other third-party features.

No cookies to display.

Analytical cookies are used to understand how visitors interact with the website. These cookies help provide information on metrics such as the number of visitors, bounce rate, traffic source, etc.

No cookies to display.

Performance cookies are used to understand and analyze the key performance indexes of the website which helps in delivering a better user experience for the visitors.

No cookies to display.

Advertisement cookies are used to provide visitors with customized advertisements based on the pages you visited previously and to analyze the effectiveness of the ad campaigns.

No cookies to display.

b এবং strong ট্যাগ – HTML এ টেক্সট বোল্ড বা মোটা করা

আজকের আলোচনায় জেনে নিবো কিভাবে  HTML এ টেক্সট বোল্ড বা মোটা করে ।  HTML এ টেক্সট বোল্ড বা মোটা  করার জন্য b  কিংবা strong ট্যাগ ব্যবহার করা হয় । তো নিচের অংশে দেখে নেওয়া যাক b এবং strong tag এর ব্যবহার এবং পার্থক্য


HTML এ কোন লেখা গাঢ় বা বোল্ড করার প্রয়োজন হলে <b>…</b> কিংবা <strong>…<strong> ট্যাগ ব্যবহার হয়ে থাকে। বডি এলিমেন্টের ভিতরে যেকোন HTML এর অভ্যন্তরে <b>…</b> কিংবা <strong>…<strong> ট্যাগ ব্যবহার করা যায়। তো নিচের অংশে এই দুটো ট্যাগের ব্যবহার দেখে নেওয়া যাক।

b  ট্যাগ এর ব্যবহারঃ

মূলত একটি ওয়েবপেজের টেক্সটকে বোল্ড করবার জন্য <b> ট্যাগ ব্যবহার হয়ে থাকে। এই এইচটিএমএল  ট্যাগ টি যেকোন জায়গায় <b> ট্যাগ ব্যবহার করা যায়।

<!DOCTYPE html>
<html>
  <head>  
    <title>Use of b tag</title> 
  </head>
  <body> 
    <p> This is normal text and <b> This is bold text </b></p>
  </body>
</html>

Try it now

উপরের এইচটিএমএল কোডগুলো লক্ষ করুন। সেখানে and this is bold text এই লেখাগুলোকে গাঢ় করার জন্য   <b> ট্যাগ ব্যবহার করা হয়েছে। যে কোন একটি কোড এডিটর এ কোড গুলো লিখে সেভ করে এইচটিএমএল কোডগুলো ব্রাউজারে রান করালে নিচের মতো দেখা যাবে।

use of b tag in html

use of b tag in html

 

 strong ট্যাগ এর ব্যবহারঃ

আমরা <b> ট্যাগের পরিবর্তে টেক্সট বোল্ড করবার জন্য strong ও ব্যবহার করতে পারি । <b> এবং <strong> ট্যাগের একই কাজ  মনে হলেও   strong ট্যাগ ব্যবহারে Web Contetn গুলো SEO Friendly হয়ে থাকে। আর তাই  strong ট্যাগ বেশি ব্যবহার হয়ে থাকে। নিচের অংশে দেখুন।

<!DOCTYPE html>
<html>
  <head>
    <title>Use of b tag</title> 
  </head>
  <body>
    <p> This is normal text and <b> This is using b tag </b></p>
    <p> This is normal text and <strong> This is using strong tag </strong></p>
  </body>
</html>

Try it now

উপরের অংশে দেখুন। সেখানে <p> ট্যাগের মধ্যে <strong> ট্যাগ ব্যবহার করা হয়েছে।  strgong tag এর কোড গুলো এবার কোন একটি কোড এডিটরে লিখে সেভ করে নিন কিংবা আগের ফাইল টিতেই এই অংশ টুকু যোগ করে নিয়ে সেভ করে ব্রাউজারে ওপেন করে দেখুন ।

Use of strong tag

Use of strong tag

সাধারণত এই ভাবে টেক্সট বোল্ড বা গাঢ় করা যায়।

strong tag ও b tag এর মধ্যে পার্থক্য

আপাতো দৃষ্টিতে দুটো ট্যাগ এর ফলাফল একই রকম হলেও strong tag ও b tag এর মধ্যে বড় পার্থক্য হল SEO Factor.  b tag টেক্সট কে শুধু বোল্ড বা গাঢ়ই করে কিন্তু strong tag টেক্সট গাঢ় করার পাশাপাশি Search Engine কে একটি মেসেজ দেয় যে, যে টেক্সট টি strong tag  এর ভিতরে আসে সেটি গুরুত্বপূর্ণও বটে ।

You may also like...

Leave a Reply

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

error: Content is protected !!