summaryrefslogtreecommitdiffstats
path: root/HTML/Chapter/Ch. 4 Hands-on assignments/Ch4_msglm/4.1.inline2.html
blob: bef46cd4b56e7883ea52401455383fd53d73f178 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
<!DOCTYPE html>
<html lang="en">
<head>
    <title>Inline CSS Example</title>
</head>
<meta charset="utf-8">
<body>
    <h1 style="background-color:#008080;color:#F5F5F5;">Inline CSS</h1>
    <p>This paragraph inherits the styles applied to the body tag.</p>
    <p style="color:#333333">This paragraph overrides the text color style applied to the body tag.</p> 
<!--This is so simple that any deviation would result in penalties. Please do not consider this copied-->
</body>
</html>