What is the difference between width = "100" and width = "100%"?

 Posted by vishalneeraj-24503 on 10/8/2014 | Category: HTML 5 Interview questions | Views: 573 | Points: 40
Answer:

1). Width = "100" takes only 100px whereas width = "100%" takes entire available space.
2). Width = "100" Browser consider this as 100px and the object uses only 100px space.
3). Width = "100%" Browser consider this as 100% and the object uses available space completely.


Asked In: Many Interviews | Alert Moderator 

Comments or Responses

Login to post response