HTML (এইচটিএমএল) পরিচিতি

 HTML (এইচটিএমএল) কী?


HTML এর সম্পূর্ণরূপ হলো Hypertext Markup Language। যে কোনো ওয়েবসাইট / ওয়েব পেইজ গঠন করার জন্য প্রাথমিক যে কোডিং ভাষা  ব্যবহার করা হয়, সেটা হলো HTML। আমরা একটি ওয়েবসাইট / ওয়েব পেইজ এ যা কিছু দেখতে পাই তা হলো ওই ওয়েবসাইট / ওয়েব পেইজ এর content। এই content গুলো ওয়েবসাইট এ সঠিকভাবে দেখানোর জন্য HTML এ বিভিন্ন command ব্যবহার করা হয়।এই command গুলোকে বলা হয় HTML tag. HTML এ অনেক ধরনের tag আছে। এর এক একটা tag এর কাজ এক এক রকম। কোন tag লেখাকে bold করে কোন টা আবার italic করে কোনটা আবার লেখাকে page এর center এ আনে। এই HTML tag গুলোর মাঝে আমরা যে data/image/video রাখব browser সেটা যেভাবে command দেওয়া আছে, সেভাবে display করবে।
So HTML file এর কাজ হল বিভিন্ন browser কে নির্দেশ দেওয়া যে একটা web page অনলাইনে  কিভাবে প্রদশর্ন হবে।

HTML tag কিভাবে লিখতে হয়?

প্রতিটা HTML tag শুরু হবে একটা < দিয়ে মধ্যে থাকবে tag এর নাম শেষে আবার >
যেমনঃ p একটা tag এর নাম (p দ্বারা paragraph বোঝানো হয়)। তাহলে আমরা এটাকে লেখব এইভাবেঃ <p>
বেশির ভাগ HTML tag জোড়ায় জোড়ায় থাকে। প্রথম অংশ কে বলে starting tag & শেষ অংশ কে বলে closing tag. Closing tag এর প্রথম < এর পর পর একটা / চিহ্ন use করতে হবে।
যেমনঃ p tag এর starting closing হলঃ <p> </p>
এই দুই জোড়ার মাঝে আমরা আমাদের দরকারি লেখা/ ছবি ইত্যাদি যা যা website এর visitor কে দেখাতে চাই তা রাখব।
যেমনঃ <p> ICT Tutorial is an online based ICT learning institute for SSC & HSC students of Bangladesh. We provide quality ICT training for students to achieve good result in exams. After comlpetion of course we take model tests also.</p>

কিছু HTML tag পরিচিতিঃ

Opening Tag
Closing Tag
Description
<!--
-->
Comment. Anything between these tags is not displayed on the screen. This is useful for making notes to yourself or to others who may view the source code of the web page.
<html>
</html>

Opens and closes an HTML document

<head>
</head>
The first of two main sections of an HTML document. The <head> section is used to provide information about the document for use primarily by search engines and browsers.
<title>
</title>
The title of document. This element is nested inside the <head> section. In HTML5, this is the only required tag other than the DOCTYPE declaration.
<body>
</body>

The second of two main sections of an HTML document. The <body> section contains all the content of the web page.

<h1> to <h6>
</h1>to</h6>

Headings. H1 is the main heading, H2 is secondary, etc.

<p>
</p>

Paragraph

<a href = "   ">
</a>

Link

<b>
</b>

Makes the contained text bold.

<ol>
</ol>

Ordered (numbered) list

<ul>
</ul>

Unordered (bulleted) list

<li>
</li>

List item, must be nested inside a list element such as a <ol> or <ul>

<table>
</table>

Adds a table

<tr>
</tr>

Table row (start & end).

<th>
</th>
When creating a table to display data, use this tag to differentiate the first row or column of cells as heading cells for all the other cells in the same column or row. Browsers typically display this element bold and centered within the table cell.
<td>
</td>

Table data cell.




Empty (Non-Container) Tags


Tag
Description
<br />
Line break.
<img src ="  " alt="alternate text" />
Inserts an image into a web page.

*** পরবর্তী লেকচারে কিভাবে HTML কোডিং এর মাধ্যমে একটি Web page তৈরী বা গঠন করা যায় সেটা শিখবো।
Tags