Advertisements
Advertisements
Question
What different types of stylesheets can be created? How are these different?
Long Answer
Advertisements
Solution
Three different kinds of style sheets are available in CSS and can be linked to web pages.
These are:
- Inline: Styles are incorporated directly into the HTML code that they modify.
- Internal: Styles are inserted into the website’s header data and eventually affect all relevant tags on the page.
- External: Styles are referenced from within the header of the actual web page after being coded in a different document.
shaalaa.com
Is there an error in this question or solution?
Chapter 6: Cascading Style Sheets (CSS) - Assisted Practice [Page 272]
