Class Details

Class Number 14024

Tues., Thurs. 4:00-6:45

Jerome Richfield 319

Contact Details

Office: 803 Sierra Tower
Telephone: 677-0901
E-mail: scott.kleinman@csun.edu

Separating Elements and Styles

Inline Styling:


Styling with a Stylesheet in the <head> Element:

<html>
<head>
<style type="text/css">
p {
    text-align: center;
    font-style: italic;
}
</style>

</head>
<body>
<p>I see Jane. </p>
</body>
</html>


Styling with an External Stylesheet:

<html>
<head>
<link rel type="stylesheet" type="text/css" href="stylesheet.css" />
</head>
<body>
<p>I see Jane. </p>
</body>
</html>

View Page


Definitions:


 

Return to Top | Return to Table of Contents