What is HTML?

 HTML stands for HyperText Markup Language. It is the standard language used to create and structure web pages.


🔍 What HTML Does:

HTML tells the web browser how to display content such as:

  • Text

  • Images

  • Links

  • Forms

  • Tables

  • Videos


📦 Example of HTML:

html
<!DOCTYPE html> <html> <head> <title>My First Web Page</title> </head> <body> <h1>Hello, world!</h1> <p>This is my first HTML page.</p> <a href="https://www.google.com">Go to Google</a> </body> </html>

🔧 Key Parts of HTML:

ElementDescription
<!DOCTYPE html>Tells the browser this is an HTML5 document
<html>Root element of an HTML page
<head>Contains metadata like title, CSS, etc.
<title>Sets the browser tab title
<body>Contains all the visible content
<h1> to <h6>Headings (big to small)
<p>Paragraph
<a>Link to another page
<img>Display an image
<form>User input form

🧠 Summary:

HTML is not a programming language — it's a markup language. It gives structure and meaning to web content.

អត្ថបទបន្ទាប់ អត្ថបទមុន