ALLInterview.com :: Home Page KalAajKal.com
 Advertise your Business Here     
Browse  |   Placement Papers  |   Company  |   Code Snippets  |   Certifications  |   Visa Questions
Post Question  |   Post Answer  |   My Panel  |   Search  |   Articles  |   Topics  |   ERRORS new
   Refer this Site  Refer This Site to Your Friends  Site Map  Bookmark this Site  Set it as your HomePage  Contact Us     Login  |  Sign Up                      
Do you have a collection of Interview Questions and interested to share with us!!
Please send that collection to along with your userid / name. ThanQ
Google
 
Categories  >>  Software  >>  Web Related  >>  HTML DHTML
 
 


 

 
 HTML DHTML interview questions  HTML DHTML Interview Questions
 XML XSLT RSS interview questions  XML XSLT RSS Interview Questions
 Flash Action Scripting interview questions  Flash Action Scripting Interview Questions
 SOAP interview questions  SOAP Interview Questions
 WML interview questions  WML Interview Questions
 Web Related AllOther interview questions  Web Related AllOther Interview Questions
Question
How do I indent the first line in my paragraphs?
 Question Submitted By :: Guest
I also faced this Question!!     Rank Answer Posted By  
 
  Re: How do I indent the first line in my paragraphs?
Answer
# 1
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 ?    0 Yes 0 No
Guest
 
  Re: How do I indent the first line in my paragraphs?
Answer
# 2
In the style information for the paragraph....we can say 
p{text-indent:20px}
 
Is This Answer Correct ?    0 Yes 0 No
Karuna
 
 
 

 
 
 
Other HTML DHTML Interview Questions
 
  Question Asked @ Answers
 
How do I know which keywords to enter in order to make site catchable?  1
What is HTML(Hypertext Markup Language)?  1
How do I indent a lot of text?  1
Does document.write work in XHTML?  1
Why should I care if my document is in correct HTML? It displays all right on my browser.  1
How can I make a custom rule, or a list with custom bullets?  1
What are The two tags for framesets ? Microsoft1
Should I use lower case or upper case for tags?  1
How do I get my visitor's e-mail addresses?  1
How do I get scrolling text in the status bar?  1
what's use of <br> command Enkay3
Why was the target attribute removed from XHTML 1.1?  1
Can I put markup in ALT text?  1
How do I get a counter?  1
Can I just put the XML declaration on top of existing HTML documents? Can I intermix HTML 4.01 and XHTML documents?  1
I want to get an audio file to play automatically when someone visits my site!  1
Why is it allowed to send XHTML 1.0 documents as text/html?  1
How do I force a download?  1
Which browsers accept the media type application/xhtml+xml?  1
Why is XHTML needed? Isn't HTML good enough?  1
 
For more HTML DHTML Interview Questions Click Here 
 
 
 
 
 
   
Copyright Policy  |  Terms of Service  |  Help  |  Site Map 1  |  Articles  |  Site Map  |   Site Map  |  Contact Us interview questions urls   External Links 
   
Copyright © 2007  ALLInterview.com.  All Rights Reserved.

ALLInterview.com   ::  Forum9.com   ::  KalAajKal.com