1
(from Chapter 5 – 4th edition of the text Chapter 4 – 5th edition)
IT350 Web and Internet Programming SlideSet #5: Advanced CSS
Review: Locations for CSS
- 1. Inline
<p style = "font-size: 20pt" > … </p>
- 2. Embedded style sheet (in <head>)
<head> <style type="text/css" > p { font-size: 20pt} </style>
- 3. External style sheet
styles.css content:
p { font-size: 20pt}
In HTML5 document:
<head> … <link rel="stylesheet" type="text/css" href="styles.css” />