Upload presentasi
Presentasi sedang didownload. Silahkan tunggu
1
CSS Khafiizh Hastuti
2
Objectives Syntax Selector Background Text Font Link Table
3
Syntax
4
Selector Element Selector - Pemilihan elemen berdasarkan nama elemen
<head> <style> p { text-align: center; color: red; } </style> </head> <body> <p>My Paragraph using CSS</p> </body>
5
Selector Id Selector Id selector digunakan pada tag attribut id untuk menentukan elemen tertentu Penulisan menggunakan # diikuti nama elemen <head> <style> #p1 { text-align: center; color: red; } </style> </head> <body> <p id=“p1”>My Paragraph using CSS</p> </body>
6
Selector Class Selector
class selector digunakan pada tag attribut class untuk menentukan kelas tertentu Penulisan menggunakan . diikuti nama elemen Bisa digunakan untuk menentukan desain pada elemen tertentu <head> <style> p.first { text-align: center; color: red; } </style> </head> <body> <h1 class=“first”> My Paragraph using CSS</h1> <p class=“first”>My Paragraph using CSS</p> </body>
7
Background <head> <style> body { background-color: blue; }
<p>My Paragraph using CSS</p> </body> <head> <style> body { background : url (koala.jpg); } </style> </head> <body> <p>My Paragraph using CSS</p> </body>
8
Text Text Allignment <head> <style> p {
text-align : center; } </style> </head> <body> <p>My Paragraph using CSS</p> </body>
9
Text Text Decoration Try using : Overline Line-through underline
<head> <style> a { text-decoration : none; } </style> </head> <body> <a href=“main.html”>My Paragraph</a> </body> Try using : Overline Line-through underline
10
Font <head> <style> p { font-family : Tahoma;
font-size : 20px; font-style : italic; } </style> </head> <body> <p>My Paragraph using CSS</p> </body>
11
Latihan Little Women by Louisa May Alcott Published in 1868, Little Women follows the lives, loves and tribulations of fours sisters growing up during the American Civil War. The story is based the childhood experiences Alcott shared with her real life sisters, Anna, May and Elzabeth.
12
Header Menu Content Footer Latihan
Buat 1 page layout berita menggunakan table Header Menu Content Footer
Presentasi serupa
© 2024 SlidePlayer.info Inc.
All rights reserved.