5) What is the difference between inline, embedded and external style sheets?

Inline: Inline Style Sheet is used to style only a small piece of code.

Syntax

Embedded: Embedded style sheets are put between the … tags.

Syntax

body {
background-color: linen;
}
h1 {
color: red;
margin-left: 80px;
}

External: This is used to apply the style to all the pages within your website by changing just one style sheet.

Syntax

Leave a Reply