Rapih-rapihin dikit
This commit is contained in:
parent
a2912e738d
commit
d404a1cf20
@ -7,7 +7,8 @@
|
||||
<meta name="viewport" content="width=device-width, initial-scale=1.0">
|
||||
<!-- meta = Informasi yang diperuntukkan untuk keperluan Search Engine dalam mencari website kita -->
|
||||
|
||||
<link rel="stylesheet" href="style.css" />
|
||||
<link rel="stylesheet" href="css/style.css" />
|
||||
<link rel="stylesheet" href="css/article.css" />
|
||||
|
||||
</head>
|
||||
<body>
|
||||
@ -34,6 +35,7 @@
|
||||
</div>
|
||||
</nav>
|
||||
|
||||
<div class="container">
|
||||
<h1 class="judul"><u>Our Team</u></h1>
|
||||
|
||||
<div class="team-profile">
|
||||
@ -63,6 +65,7 @@
|
||||
<p>Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua.</p>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
</body>
|
||||
</html>
|
@ -7,7 +7,8 @@
|
||||
<meta name="viewport" content="width=device-width, initial-scale=1.0">
|
||||
<!-- meta = Informasi yang diperuntukkan untuk keperluan Search Engine dalam mencari website kita -->
|
||||
|
||||
<link rel="stylesheet" href="style.css" />
|
||||
<link rel="stylesheet" href="css/style.css" />
|
||||
<link rel="stylesheet" href="css/article.css" />
|
||||
|
||||
</head>
|
||||
<body>
|
||||
@ -34,8 +35,7 @@
|
||||
</div>
|
||||
</nav>
|
||||
|
||||
|
||||
|
||||
<div class="container">
|
||||
<main class="container-article">
|
||||
<div>
|
||||
<h2 class="judul"><u>Article</u></h2>
|
||||
@ -55,6 +55,7 @@
|
||||
</article>
|
||||
<footer>Copyright (c) 2025 Widuri News</footer>
|
||||
</main>
|
||||
</div>
|
||||
|
||||
</body>
|
||||
</html>
|
@ -7,7 +7,8 @@
|
||||
<meta name="viewport" content="width=device-width, initial-scale=1.0">
|
||||
<!-- meta = Informasi yang diperuntukkan untuk keperluan Search Engine dalam mencari website kita -->
|
||||
|
||||
<link rel="stylesheet" href="style.css" />
|
||||
<link rel="stylesheet" href="css/style.css" />
|
||||
<link rel="stylesheet" href="css/article.css" />
|
||||
|
||||
</head>
|
||||
<body>
|
||||
@ -34,12 +35,14 @@
|
||||
</div>
|
||||
</nav>
|
||||
|
||||
<div class="container">
|
||||
<address>
|
||||
<h1>Kontak saya:</h1>
|
||||
Jalan kebon jeruk baru, No 11 Rt 3 Rw 5, Jakarta Selatan
|
||||
+62 80989999
|
||||
aji@usaha.com
|
||||
</address>
|
||||
</div>
|
||||
|
||||
</body>
|
||||
</html>
|
31
css/article.css
Normal file
31
css/article.css
Normal file
@ -0,0 +1,31 @@
|
||||
|
||||
.container-article {
|
||||
display: grid;
|
||||
grid-template-areas:
|
||||
"header header"
|
||||
"menu article"
|
||||
"footer footer";
|
||||
grid-template-columns: 1fr 3fr;
|
||||
gap:20px;
|
||||
padding: 5px;
|
||||
/* background-color: #ff9999; */
|
||||
}
|
||||
.container-article > div {
|
||||
/* background-color: #bbb; */
|
||||
grid-area: header;
|
||||
}
|
||||
.container-article > aside {
|
||||
background-color: #bbb;
|
||||
grid-area: menu;
|
||||
padding: 10px;
|
||||
}
|
||||
.container-article > article {
|
||||
/* background-color: #bbb; */
|
||||
grid-area: article;
|
||||
padding: 10px;
|
||||
}
|
||||
.container-article > footer {
|
||||
background-color: #bbb;
|
||||
grid-area: footer;
|
||||
padding: 10px;
|
||||
}
|
@ -5,6 +5,18 @@
|
||||
padding: 10px ; /* Ngejarakin pada sisi dalam */
|
||||
}
|
||||
|
||||
body {
|
||||
margin:0;
|
||||
padding:0;
|
||||
|
||||
}
|
||||
|
||||
.container {
|
||||
margin-inline:100px;
|
||||
margin-top: 20px;
|
||||
margin-bottom: 30px;
|
||||
}
|
||||
|
||||
header {
|
||||
background-color: #2E3440; /* Warna background */
|
||||
color:#E5E9F0; /* Warna teks */
|
||||
@ -48,33 +60,3 @@ nav {
|
||||
text-align: center;
|
||||
}
|
||||
|
||||
.container-article {
|
||||
display: grid;
|
||||
grid-template-areas:
|
||||
"header header"
|
||||
"menu article"
|
||||
"footer footer";
|
||||
grid-template-columns: 1fr 3fr;
|
||||
gap:20px;
|
||||
padding: 5px;
|
||||
background-color: #ff9999;
|
||||
}
|
||||
.container-article > div {
|
||||
background-color: #bbb;
|
||||
grid-area: header;
|
||||
}
|
||||
.container-article > aside {
|
||||
background-color: #bbb;
|
||||
grid-area: menu;
|
||||
padding: 10px;
|
||||
}
|
||||
.container-article > article {
|
||||
background-color: #bbb;
|
||||
grid-area: article;
|
||||
padding: 10px;
|
||||
}
|
||||
.container-article > footer {
|
||||
background-color: #bbb;
|
||||
grid-area: footer;
|
||||
padding: 10px;
|
||||
}
|
42
index.html
42
index.html
@ -7,7 +7,8 @@
|
||||
<meta name="viewport" content="width=device-width, initial-scale=1.0">
|
||||
<!-- meta = Informasi yang diperuntukkan untuk keperluan Search Engine dalam mencari website kita -->
|
||||
|
||||
<link rel="stylesheet" href="style.css" />
|
||||
<link rel="stylesheet" href="css/style.css" />
|
||||
<link rel="stylesheet" href="css/article.css" />
|
||||
|
||||
</head>
|
||||
<body>
|
||||
@ -20,30 +21,29 @@
|
||||
<div class="kolom-samping">
|
||||
<a class="menu-item" href="index.html">Home</a>
|
||||
</div>
|
||||
|
||||
<div class="kolom-samping">
|
||||
<a class="menu-item" href="about.html">About</a>
|
||||
</div>
|
||||
|
||||
<div class="kolom-samping">
|
||||
<a class="menu-item" href="article.html">Article</a>
|
||||
</div>
|
||||
|
||||
<div class="kolom-samping">
|
||||
<a class="menu-item" href="contact.html">Contact</a>
|
||||
</div>
|
||||
<div style="clear: both;"></div>
|
||||
</nav>
|
||||
|
||||
<!--
|
||||
<div></div>
|
||||
Alternative div:
|
||||
<header></header> buat header diatas
|
||||
<nav></nav> buat menu navigasi
|
||||
<article></article> buat artikel
|
||||
<section></section> Buat section, contoh: Call-to-Action, Testimonial, Our Clients, etc
|
||||
<main></main> Buat container / bagian utamanya
|
||||
<footer></footer> Buat footer bagian bawah
|
||||
-->
|
||||
<div class="container">
|
||||
|
||||
<h2>Pemrograman Web</h2>
|
||||
<h3>Alternative element div</h3>
|
||||
<mark>header</mark> buat header diatas <br>
|
||||
<mark>nav</mark> buat menu navigasi <br>
|
||||
<mark>aside</mark> buat menu di sidebar <br>
|
||||
<mark>article</mark> buat artikel <br>
|
||||
<mark>section</mark> Buat section, contoh: Call-to-Action, Testimonial, Our Clients, etc <br>
|
||||
<mark>main</mark> Buat container / bagian utamanya <br>
|
||||
<mark>footer</mark> Buat footer bagian bawah <br>
|
||||
|
||||
<hr>
|
||||
|
||||
@ -54,7 +54,7 @@
|
||||
|
||||
<hr>
|
||||
|
||||
<h1>Macam-macam Tipografi HTML</h1>
|
||||
<h2>Macam-macam Tipografi HTML</h2>
|
||||
<hr>
|
||||
<h1>Heading 1</h1>
|
||||
<h2>Heading 2</h2>
|
||||
@ -77,6 +77,10 @@
|
||||
|
||||
<hr>
|
||||
|
||||
<h2>Positioning</h2>
|
||||
|
||||
<h3>Positioning Dengan Table</h3>
|
||||
|
||||
<table style="width: 100%;">
|
||||
<tr>
|
||||
<td style="border: solid black 2px;">
|
||||
@ -96,10 +100,12 @@
|
||||
</tr>
|
||||
</table>
|
||||
|
||||
<h3>Positioning Dengan Float</h3>
|
||||
<p>Contohnya dapat dilihat di navbar menu</p>
|
||||
|
||||
|
||||
|
||||
|
||||
<h3>Positioning Dengan Flex</h3>
|
||||
<p>Contohnya dapat dilihat di About > Team Profile</p>
|
||||
</div>
|
||||
|
||||
</body>
|
||||
</html>
|
Loading…
Reference in New Issue
Block a user