GeekInterview.com
Series: Subject: Topic:
Question: 131 of 348

what is the main difference between External and inline style sheet.

Asked by: Interview Candidate | Asked on: Jan 6th, 2007
Showing Answers 1 - 5 of 5 Answers
Jay Shanker

Answered On : Jan 9th, 2007

External stylesheets are styles defined in a standalone .css file. Inline styles are specified within the element definition itself for

ex: <. td style="white-space:nowrap;"

  
Login to rate this answer.
Saagar

Answered On : Jan 31st, 2007

Following are the differences



1. The external style sheet resides in a separate .CSS file that can be accessed from within any web-form or htm(l) page with the help of the "" statement. Whereas, the inline style sheet can be written using "style=" statement or "