There are two different ways to format the output of an ASP.NET web application.
Cascading style sheets (CSS): This is used to control the appearance of elements on a Web form. It also organizes all of the formatting information applied to HTML elements on a Web form which make easy to adjust the look and feel of Web applications. These styles can set the size, font, color and behavior of each specified HTML elements on the Web page.
Extensible Style sheet Language Transformations (XSLT): This is used to convert the mentioned data from an Extensible Markup Language (XML) file to HTML output and shows that information on the Web form. This XSLT puts data into HTML element from the XML file and applies styles on that element.
Asked In: Many Interviews |