Code HTML for Beginer

a more complex web page will have more HTML elements and more complex CSS as well. This basic HTML post is essential in creating a simple website.
html for beginer

It should be noted that this HTML code is only a basic example, and in general, a more complex web page will have more HTML elements and more complex CSS as well.

Here is an example of basic HTML code to create a simple web page.:

<!DOCTYPE html>

<html>

<head>

<title>Judul Halaman</title>

</head>

<body>

<h1>Judul Utama</h1>

<p>Ini adalah sebuah paragraf.</p>

<ul>

<li>Item 1</li>

<li>Item 2</li>

<li>Item 3</li>

</ul>

</body>

</html>

Explanation:



  • <!DOCTYPE html>: HTML document.
  • <html>: open tag HTML.
  • <head>: Opening the HTML document header tag. Inside this tag, there is usually information related to the document, such as page title, stylesheet, and others.
  • <title>: Defining title page.
  • </head>: Close tag head HTML document.
  • <body>: Open tag in HTML Document.
  • <h1>: Defining the main title on the page.
  • <p>: Defining a paragraf.
  • <ul>: Defining a list (unordered list).
  • <li>: Defining a item list.

This basic HTML post is essential in creating a simple website because to make a better website, it also requires more comprehensive HTML code. Hopefully, it can be understood by those who are learning to make a website for beginners.

Posting Komentar