Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- <!DOCTYPE html>
- <html>
- <head>
- <title>Embed CSS macam macam Heading (Yusuf A/ XI RPL 2)</title>
- <style type="text/css">
- body,p{
- color: fuchsia;
- }
- h1{
- color: coral;
- }
- p.ex{
- color: rgb(o,o,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