Cascade Sampler Page
Example of and Inline Style H1
The above H1 tag uses inline, embedded and and external styles.
- The inline styles used are:
- Color: Green
- Font size 24px
- The embedded styles used are:
- Color: Purple but this conflicts with the inline style which overrides the purple color so the above h1 is green.
- Font-Variant: small-caps
- The external styles used are:
- Color: Red but this conflicts with the inline style of green and below you can see this conflicts with the embedded style of purple. So the regular h1s remain purple
- Background color Yellow — which as you can see has been applied to all of the h1s on the page
- The Font size is 14px the inline style above of 24 px overrides the external style sheet but as you can see below the rest of the h1s have been changed to font size 14.
- Font Style italics
- (The font family of Times New Roman is defined by the browser)
Regular H1
Regular H1
Regular H1
Regular H1