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...


In how many ways can we position an HTML element? Or what are the permissible values of the position attribute?



In how many ways can we position an HTML element? Or what are the permissible values of the position..

Answer / nashiinformaticssolutions

There are mainly 7 values of position attribute that can be used to position an HTML element:
1. static: Default value. Here the element is positioned according to the normal flow of the document.
2. absolute: Here the element is positioned relative to its parent element. The final position is determined by the values of left, right, top, bottom.
3. fixed: This is similar to absolute except here the elements are positioned relative to the <html> element.
4. relative: Here the element is positioned according to the normal flow of the document and positioned relative to its original/ normal position.
5. initial: This resets the property to its default value.
6. inherit: Here the element inherits or takes the property of its parent.

Is This Answer Correct ?    0 Yes 0 No

Post New Answer

More HTML DHTML Interview Questions

Name a few new tags in html5 and their advantages?

0 Answers  


How to enter comments into xhtml documents?

0 Answers  


How many HTML tags are should be used for the most simple of web pages?

0 Answers  


How do I rename all the files from .htm to .html after copying them from a pc to a unix machine?

0 Answers  


In an html form I have a button which makes us to open another page in 15 seconds. How will do you that?

0 Answers  


What are the types of tag?

0 Answers  


What are grouping elements in html?

0 Answers  


What is a tag for a website?

0 Answers  


What is meta short for?

0 Answers  


What is the difference between div and section?

0 Answers  


What is alt text used for?

0 Answers  


What are html helpers?

0 Answers  


Categories