23 lines
497 B
HTML
23 lines
497 B
HTML
<html>
|
|
<head>
|
|
<style>
|
|
P {
|
|
color: black;
|
|
background-color: yellow;
|
|
}
|
|
P#reverse {
|
|
color: yellow;
|
|
background-color: black;
|
|
}
|
|
</style>
|
|
</head>
|
|
<body>
|
|
<P>This is a paragraph. We should be yellow because there is a style
|
|
rule indicating that all paragraphs have a background of yellow.</P>
|
|
<P ID=reverse>This is a paragraph. We should be black with yellow text
|
|
because there is a style rule indicating that this paragraph should have
|
|
a background of black with yellow text.</P>
|
|
</body>
|
|
</html>
|
|
|