Daffodil Computers Ltd.

Create your Own Website => HTML, PHP => Topic started by: bbasujon on January 11, 2012, 07:38:07 AM

Title: Do not shortcut the rules, I do web design and web programming tutoriai Pragraph
Post by: bbasujon on January 11, 2012, 07:38:07 AM
আমরা একটা নোটপ্যাড open করে নিচের code টুকু লিখি।
Code:

<html>

<head>

 <title> This is title of your web site.</title> 

</head>

 <body bgcolor=”green“> 
This is the body of your web site.
 
<p>This is a paragraph.</p>
<p>
This is a paragraph.This is a paragraph.This is a paragraph.
This is a paragraph.This is a paragraph.This is a paragraph.
</p>

<p>
This is a paragraph.This is a paragraph.This is a paragraph.
This is a paragraph.This is a paragraph.This is a paragraph.
This is a paragraph.This is a paragraph.This is a paragraph.
This is a paragraph.This is a paragraph.This is a paragraph.
</p>
 

</body>

</html>

 

এখন file মেনু থেকে Save as এ ক্লিক করে File name: index.html  ,   Save as type : All files,  দিয়ে save করি । save করা index.html ফাইলটি Internet explorer দিয়ে open করলে নিচের মত দেখাবে।

(http://tutorialbd.com/bn/wp-content/uploads/2010/02/4.a-870x377.png)

Code বিশ্লেষণ:

HTML ব্যবহার করে প্যরাগ্রাফ তৈরি করার জন্য <p> ট্যাগ ব্যবহার করা হয়। <p> ট্যাগের ক্ষেত্রেও অন্যান্য ট্যাগের মত শেষ ট্যাগ দিতে হয়, আর তা হল </p> অর্থাৎ আমরা যদি একটা প্যরাগ্রাফ লেখতে চাই তবে তা <p>——–</p> এর মাঝে লেখতে হবে। যেমন আমি লিখেছি,

<p>
This is a paragraph.This is a paragraph.This is a paragraph.
This is a paragraph.This is a paragraph.This is a paragraph.
This is a paragraph.This is a paragraph.This is a paragraph.
This is a paragraph.This is a paragraph.This is a paragraph.
</p>