HTML Basics for Beginners

HTML ਕੀ ਹੈ?

HTML stands for HyperText Markup Language. It is a markup language used to create the structure of web pages and web applications.

Where is HTML used?

In short, wherever you need to build a web page or web application, HTML is used.


Example 1:

<!DOCTYPE html>
<html>
  <head>
    <title>ਮੇਰੀ ਪਹਿਲੀ ਵੈੱਬਸਾਈਟ</title>
  </head>
  <body>
    <h1>ਸਤ ਸ੍ਰੀ ਅਕਾਲ ਦੁਨੀਆ!</h1>
    <p>ਇਹ ਮੇਰੀ ਪਹਿਲੀ ਵੈੱਬ ਪੇਜ ਹੈ ਜੋ ਮੈਂ HTML ਨਾਲ ਬਣਾਇਆ ਹੈ।</p>
  </body>
</html>
    

Example 2:

<img src="mera-chitra.jpg" alt="ਇਹ ਮੇਰਾ ਚਿੱਤਰ ਹੈ">
    

Example 3:

<a href="https://www.example.com">ਇਸ ਲਿੰਕ 'ਤੇ ਕਲਿਕ ਕਰੋ</a>
    

Example 4:

<ul>
  <li>HTML</li>
  <li>CSS</li>
  <li>JavaScript</li>
</ul>
    

Summary: With HTML, you can add structure, text, images, links, tables, forms, and much more to your website.