Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- <!DOCTYPE html>
- <html>
- <head>
- <title>Embed CSS macam2 Heading (M. Hafidz Fadillah - XI RPL 2)</title>
- <style type="text/css">
- body.p{
- color: fuchsia;
- }
- h1 {
- color: Coral;
- }
- p.ex {
- color: rgb(0,0,255);
- }
- </style>
- </head>
- <body>
- <h1>Ini adalah heading 1</h1>
- <p>ini adalah paragraph, ditulis dengan warna fuchsia. Default text-color didefinisikan pada body selector.</p>
- <p class="ex">ini adalah paragraph with class="ex". Dan warna teks biru.</p>
- </body>
- </html>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement