এইচটিএমএল-৮ [Code & Pre, Superscipt, Subscript, strike through] - SMH Amiri

সর্বশেষ লিখাসমূহ

এইচটিএমএল-৮ [Code & Pre, Superscipt, Subscript, strike through]


Code & Pre

code tag এর মাধ্যমে আপনার text কে computer code এর মত করে লেখতে পারেন। এটা সাধারন ভাবে text এর  font face, size, এবং letter spacing পরিবর্তন করতে পারে।

1.This text has been formatted to be computer <code>code</code>!

প্রদর্শন: Computer Code

This text has been formatted to be computer code!

Use this tag to separate any computer code you wish to display on your website. It is not always necessary, but the tag exists if you so desire.

HTML - Code Links

পৃথক link হিসাবে আপনার web page এ দেখাতে পারেন।

1.<p>Feel free to search <a href="http://www.google.com" target="_blank">
2.<code>Google</code>
3.</a> for
4.anything you wish to find on the internet.</p>

 

প্রদর্শন: Code Links:

Feel free to search Google for anything you wish to find on the internet.

 

HTML - <pre> Preformatting

<pre> tag এর সুবিধা হল HTML coding এর সময় যেভাবে আমরা লাইন ব্রেক, স্পেস নির্দেশ করে দিবো ঠিক সেভাবে টেক্সট প্রদর্শিত হবে।অর্থ্যাৎ যেভাবে কোড লিখবেন সেভাবেই আউটপুট দেখাবে।

1.<pre>
2.Roses are Red,
3.এখানে কয়েকটা স্পেস আছেViolets are blue,
4.I may sound crazy,
5.এখানে কয়েকটা স্পেস আছেBut I love you!
6.</pre>

প্রদর্শন:

Roses are Red,
     Violets are blue,
I may sound crazy,
     But I love you!





সুপারস্ক্রিপ্ট,সাবস্ক্রিপ্ট,স্ট্রাইকথ্রো

1.<p>This text is <sup>superscripted!</sup></p>

প্রদর্শন: Superscript:

This text is superscripted!

 

HTML – Exponents

অংকে exponential ব্যবহার করা জন্য <sup> tag ব্যবহার করতে হয়।

1.2<sup>3</sup> = 8
2.14<sup>x</sup>

প্রদর্শন: Exponents:

23 = 8
14x

 

HTML – ফুটনোট:

উপন্যাস বা প্রবন্ধে দেখা যায় কোন লেখার reference দেয়ার জন্য <sup> tag ব্যবহার হয় যা ফুটনোটকে নির্দেশ করে।

1.<p>"It was a lover's tryst<sup>1</sup>."
2.<hr />
3.1. Secret meeting between lovers

 

প্রদর্শন: Footnote

"It was a lover's tryst1."


1. Secret meeting between lovers

HTML -Subscript

1.<p>This text is <sub>subscripted!</sub></p>

প্রদর্শন:

This text is subscripted!

1.<p>H<sub>2</sub>0 - Water
2.<p>O<sub>2</sub> - Oxygen
3.<p>CO<sub>2</sub> - Carbon Dioxide

প্রদর্শন:

H2O - Water
O2 - Oxygen
CO2 - Carbon Dioxide

HTML – Strikethrough

<del> tag এর মাধ্যমে কোন লেখাকে ক্রস দেওয়া যায়।

1.<p>This text is <del>scratched</del> out!</p>

 

প্রদর্শন: Strikethrough

This text is scratched out!

HTML - Check Off Task:

1.<ol>
2.<li>Clean my room</li>
3.<li><del>Cook Dinner</del></li>
4.<li><del>Wash Dishes</del></li>
5.</ol>

প্রদর্শন:

  1. Clean my room
  2. Cook Dinner
  3. Wash Dishes