Golgappa.net | Golgappa.org | BagIndia.net | BodyIndia.Com | CabIndia.net | CarsBikes.net | CarsBikes.org | CashIndia.net | ConsumerIndia.net | CookingIndia.net | DataIndia.net | DealIndia.net | EmailIndia.net | FirstTablet.com | FirstTourist.com | ForsaleIndia.net | IndiaBody.Com | IndiaCab.net | IndiaCash.net | IndiaModel.net | KidForum.net | OfficeIndia.net | PaysIndia.com | RestaurantIndia.net | RestaurantsIndia.net | SaleForum.net | SellForum.net | SoldIndia.com | StarIndia.net | TomatoCab.com | TomatoCabs.com | TownIndia.com
Interested to Buy Any Domain ? << Click Here >> for more details...


How do I indent the first line in my paragraphs?

Answers were Sorted based on User's Feedback



How do I indent the first line in my paragraphs?..

Answer / karuna

In the style information for the paragraph....we can say
p{text-indent:20px}

Is This Answer Correct ?    2 Yes 1 No

How do I indent the first line in my paragraphs?..

Answer / guest

This isn't really possible in a reliable way, until style
sheets are more widely supported. At this moment, there are
several browser-specific kludges and tricks available, but
these are not guaranteed to work.

1) Use a number of ( ) characters. Netscape and related
browsers do not collapse these, like normal spaces, so this
appears as an indent in these browsers. Other browsers can
display it as one space.

2) Put a <DD> at the beginning of the line. This is
syntactically invalid, but Netscape works around this by
indenting the line at this ball. Of course, other browsers
will handle this differently, and there is no guarantee that
Netscape will keep doing this.

3) Use a blank, transparent GIF, using WIDTH and HEIGHT to
indicate the desired whitespace. This is a very ugly
solution, as it only works if you have image loading on,
otherwise you get the "Image" icon at the beginning of the
line. Not all browsers support resizing using these
attributes, and you can only "indent" a certain number of
pixels, not characters. So the amount of "indentation"
varies with the font size used to display your document.

Is This Answer Correct ?    1 Yes 1 No

Post New Answer

More HTML DHTML Interview Questions

What is server sent events?

0 Answers  


What is numbered list?

0 Answers  


What is opening tag and closing tag in html?

0 Answers  


Why is flash player needed?

0 Answers  


Which tag is used to display the number list?

0 Answers  


What is HTML5 Web Storage?

0 Answers  


What is a label element?

0 Answers  


What does the a tag stand for?

0 Answers  


What are the versions of html?

0 Answers  


Can I prevent a form from being submitted again?

0 Answers  


What is difference between coding and programming?

0 Answers  


What are the technologies that we use in dhtml?

0 Answers  


Categories