Forum : How to do first line hanging by using a paragraph tag?
Brief description  about Online courses   join in Online courses
View Siddiqui Nadeem Ahmed 's Profile

How to do first line hanging by using a paragraph tag?

In general the paragraph's first line have some space for that it look like a new paragraph is starting. so how can we do it using paragraph tag
Asked by Siddiqui Nadeem Ahmed | May 12, 2010 |  Reply now
Replies (2)
View siddiqui nadeem ahmed 's Profile
Thank You sir for the reply but this code uses css. I am just now starting to learn HTML and i dont use tables also i want to know that for any type of paragraphs first line is different with others i mean as first line indent spacing is 0.5cm. With HTML can we create that space or not
May 13, 2010
View teacher siliconindia 's Profile
Hi


<html>
<head>

<title>Untitled Document</title>
<style type="text/css">
<!--
p{ padding:0px; margin:0px;}
-->
</style>
</head>

<body>
<table width="900" border="0" cellspacing="0" cellpadding="0">
<tr>
<td>
<p>Line 1</p>
<p>line 2</p>
<p>line 3</p>
</td>
</tr>

</table>
</body>
</html>


Try this

p{ padding:0px; margin:0px;} you should add then that space will go

Regards
May 12, 2010