0% found this document useful (0 votes)
3 views3 pages

Unit5 Cascading Style Sheets

Cascading Style Sheets (CSS) are used to manage the layout and appearance of webpages, allowing for a separation of content and design. It includes Inline CSS, where styles are applied directly to HTML elements, and Internal CSS, where styles are defined within a <style> tag in the <head> section of the HTML document. This approach enhances the maintainability and flexibility of websites.

Uploaded by

varshasalave.foe
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PPTX, PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
3 views3 pages

Unit5 Cascading Style Sheets

Cascading Style Sheets (CSS) are used to manage the layout and appearance of webpages, allowing for a separation of content and design. It includes Inline CSS, where styles are applied directly to HTML elements, and Internal CSS, where styles are defined within a <style> tag in the <head> section of the HTML document. This approach enhances the maintainability and flexibility of websites.

Uploaded by

varshasalave.foe
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PPTX, PDF, TXT or read online on Scribd
You are on page 1/ 3

Cascading Style sheets

Salve V. S
Cascading Style Sheets (CSS)
CSS (Cascading Style Sheets) is used to control the layout and
appearance of a webpage. It allows you to separate the content (HTML)
from the presentation (design), making your website more maintainable
and flexible.

1.Definition:
Inline CSS:CSS styles are directly applied to an individual HTML element using the style attribute

<h1 style="color: blue; text-align:


center;">Welcome to My Website</h1>
2. Internal (Embedded) CSS:

Definition: CSS rules are written inside the <style> tag within the <head> section of the HTML document.

<head>
<style>
h1 {
color: blue;
text-align: center;
}
</style>
</head>

You might also like