Q1: What is CSS?
Cascading Style Sheets is a web defining language for html elements and is also known as XHTML. It is used to style html pages and allows to have all styling separate from html file.
Q2: What are the 3 ways CSS can be integrated in HTML?
- Inline– using the style attribute of an element.
- Internal– using the style tag inside head element, allowing creating a styling block.
- External-creating a css file containing the styling of elements and linking the css file to html with <link rel=”text/css” href=”path_to_cssfile”/>