HTML value
Created By: chatGPT
HTML (Hypertext Markup Language) is the standard language for creating web pages. It is used to structure content on the web. Here’s a simple example of an HTML document that contains various elements like headings, paragraphs, and links.
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>My First Web Page</title>
</head>
<body>
<h1>Welcome to My Web Page</h1>
<p>This is a paragraph of text on the page. It provides some information.</p>
<a href="https://www.example.com">Visit Example</a>
</body>
</html>
In this example, we start with the DOCTYPE declaration, which tells the browser that this document is an HTML5 document. The element is the root of the HTML document. Inside the element, we include important metadata like the character set and the title of the page.
DOCTYPE html
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>My First Web Page</title>
</head>
The body section contains the content that is displayed on the web page. Here, we use different HTML elements to represent various types of content, such as headings using , paragraphs with , and hyperlinks with tags.
<body>
<h1>Welcome to My Web Page</h1>
<p>This is a paragraph of text on the page. It provides some information.</p>
<a href="https://www.example.com">Visit Example</a>
</body>