Membuat Webpage dengan HTML


Apa itu webpage?
Webpage adalah halaman web, seperti google.com atau youtube.com

youtube
https://www.nesabamedia.com/wp-content/uploads/2022/09/youtube-homepage-redesign-desktop-1-768x432.jpg

HTML

HTML (Hypertext Markup Language) adalah bahasa pemrograman yang digunakan untuk membuat struktur webpage.

Contoh HTML code:
<html>
 <head>
  <title>Webpage</title>
 </head>
 <body>
  <h1>Webpage</h1>
 </body>
</html>

yang menghasilkan:

Webpage


lebih kompleks, code ini:
<html>
 <head>
  <title>Blog Chad</title>
 </head>
 <body>
  <div style="width: auto; padding: 5vw; background: black; color: white;">
   <h1>Blog Chad</h1>
   <p>Halo, namaku Chad, dan aku sangat keren.<br>
   Follow YouTuber keren: <a href="https://youtube.com/@aljokes">AlJokes (saya, Chad, suka channel ini)</a></p>
  
  </div>
 </body>
</html>
menghasilkan ini: 

Blog Chad

Halo, namaku Chad, dan aku sangat keren.
Follow YouTuber keren: AlJokes (saya, Chad, suka channel ini)

Comments

Popular posts from this blog