Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- <!DOCTYPE html>
- <html>
- <head>
- <title>Embed CSS macam macam heading_ Muhammad Irham AG (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