DEV Community

johar ali
johar ali

Posted on

What is an HTML explain?

HTML is a computer language mostly used to create web pages and online web applications. HTML is the language in which most websites are created. HTML is mainly used to create web pages. The code used to make a web page created by HTML look attractive is known as CSS. HTML was created by Tim Berners-Lee in 1990. The first version of HTML was HTML 1.0, but the first standard version was HTML 2.0, published in 1995. The first version of HTML contained 18 tags. The most recent version of HTML to date, HTML5, was released in 2014.

HTML, which stands for Hypertext Markup Language, is the standard markup language used to create web pages. It is a fundamental building block of the World Wide Web and is essential for structuring the content of a web page. Here's an explanation of HTML:

Hypertext: HTML is used for creating documents that contain hyperlinks. Hyperlinks are text or images that you can click on to navigate to other web pages or resources. This interlinking of documents is a key feature of the web.

Markup Language: HTML is a markup language, not a programming language. It consists of a set of predefined tags or elements that you insert into the text to define the structure and presentation of a document. These tags are enclosed in angle brackets, such as , and usually come in pairs (opening and closing tags) to enclose content.

Web Page: HTML is used to define the structure of a web page. You can use HTML to create headings, paragraphs, lists, tables, forms, and more. It allows you to organize and categorize content, making it easily readable and understandable for both humans and web browsers.

Here's a simple example of HTML code:

<!DOCTYPE html>
<html>
<head>
  <title>My Web Page</title>
</head>
<body>
  <h1>Welcome to My Web Page</h1>
  <p>This is a simple example of an HTML document.</p>
  <a href="https://www.tutorialspoint.com/">Visit Tutorialspoint.com</a>
</body>
</html>
Enter fullscreen mode Exit fullscreen mode

In this example, you can see how HTML is used to define the structure of a web page, set the page title, create headings and paragraphs, and include a hyperlink to another website. When this HTML code is loaded in a web browser, it will be rendered as a structured and visually appealing web page.

Top comments (0)