DEV Community

Ranjith Ranjith
Ranjith Ranjith

Posted on

HTML

What is HDML :
* HTML stands for HyperText Markup Language.
*It is a standard markup language for web page creation.
* It allows the creation and structure of sections, paragraphs, and links using HTML elements (the building blocks of a web page) such as tags and attributes.

Example

         <!DOCTYPE html>

  <html>

  <head>

  <title>Page Title</title>

  </head>

  <body>

  <h1>My First Heading</h1>
  <p>My first paragraph.</p>

  </body>

   </html>
Enter fullscreen mode Exit fullscreen mode

Simple keypoint:
What is HTML?
(1) HTML stands for Hyper Text Markup Language
(2) HTML is the standard markup language for creating Web pages
(3) HTML describes the structure of a Web page
(4)HTML consists of a series of elements
(5)HTML elements tell the browser how to display the content
(6)HTML elements label pieces of content such as "this is a heading", "this is a paragraph", "this is a link", etc.

Why used in HDML:
* HTML has a lot of use cases, namely:
Web development.
*Developers use HTML code to design how a browser displays web page elements, such as text, hyperlinks, and media files.

Web documentation.
* HTML makes it possible to organize and format documents, similarly to Microsoft Word.

How to Run:

  1. Open Notepad (or any text editor).
  2. Copy and paste the above code.
  3. Save the file as: mypage.html
  4. Double click the file — it will open in your web browser.

Reffer:
https://www.hostinger.com/in/tutorials/what-is-html
https://www.w3schools.com/html/html_intro.asp

Top comments (0)