The HTML,( HyperText Markup Language ) standard markup language used to create and design the structure of web pages . It is a foundational technology for creating websites, and it is
frequently used in concert with other technologies such as Cascading Style Sheets (CSS) and
JavaScript to produce dynamic and visually appealing web pages.
HTML offers a collection of components or tags that describe various portions of a web page, such as
headers, paragraphs, links, pictures, lists, and more. Each HTML tag is made up of three parts: the
opening tag, the content, and the closing tag.
<!DOCTYPE html>
<html>
<head>
<title>My First Web Page</title>
</head>
<body>
<h1>Hello, World!</h1>
<p>This is a paragraph of text.</p>
<img src="example.jpg" alt="An example image">
</body>
</html>
<!DOCTYPE html> declares the HTML version being used (in this case, HTML5).
<html> is the root element of the HTML document.
<head> contains meta-information about the HTML document, such as the title that appears in the browser tab.
<title> sets the title of the HTML document.
<body> contains the content of the HTML document, including text, images, and other elements.
<h1> is a heading tag.
<p> is a paragraph tag.
<img> is an image tag, and src specifies the source (URL or file path) of the image, while alt provides alternative text for accessibility.
HTML is not a programming language; rather, it is a markup language that structures the content of a web page. To enhance the visual style and interactivity of a web page, developers often use CSS for styling and JavaScript for scripting.