HTML HTML Tutorial HTML Forms HTML Graphics HTML Media HTML APIs HTML Tags



HTML Introduction

HTML stands for Hyper Text Markup Language. It is the standard markup language used to create web pages. HTML is a markup language that is used to structure content on the web. It is the foundation of all websites and is used to create the structure and content of a web page.

HTML was first introduced in 1991 by Tim Berners-Lee, a British computer scientist. It was created to help researchers share information over the internet. HTML has evolved over the years and is now in its fifth version, HTML5.

HTML is a markup language that uses tags to define the structure and content of a web page. Tags are used to define headings, paragraphs, lists, links, images, and other elements of a web page. HTML tags are enclosed in angle brackets (< >) and are usually written in pairs, with a start tag and an end tag.

Here are some examples of HTML tags:

<h1>This is a heading</h1>
<p>This is a paragraph.</p>
<a href="https://www.example.com">This is a link</a>
<img src="image.jpg" alt="This is an image">

The <h1> tag is used to define a heading. The <p> tag is used to define a paragraph. The <a> tag is used to define a link. The <img> tag is used to define an image.

HTML is a markup language that is easy to learn and use. It is a great way to create web pages and share information over the internet. HTML is supported by all web browsers and is the foundation of all websites.

Here is an example of a simple HTML document:

<!DOCTYPE html>
<html>
<head>
<title>My First Web Page</title>
</head>
<body>
<h1>Welcome to my website!</h1>
<p>This is my first web page.</p>
</body>
</html>

The <!DOCTYPE html> declaration is used to tell the web browser that this is an HTML5 document. The <html> tag is used to define the start and end of an HTML document. The <head> tag is used to define the head section of an HTML document. The <title> tag is used to define the title of an HTML document. The <body> tag is used to define the body section of an HTML document.

HTML is a powerful tool for creating web pages. It is easy to learn and use, and is supported by all web browsers. With HTML, you can create beautiful and functional web pages that can be shared with the world.

References

Activity