HTML (Hypertext Markup Language) is the standard markup language used to create web pages. It consists of a series of elements (tags) that define the structure and content of a web page.
<!DOCTYPE html> <html> <head> <title>My First HTML Page</title> </head> <body> <h1>Welcome to my website!</h1> <p>This is my first paragraph.</p> <p>This is my second paragraph.</p> </body> </html>
Let’s break it down:
<!DOCTYPE html>declares the document type as HTML5.
<html>is the root element of an HTML document.
<title>specifies the title of the document, which appears in the browser tab.
<body>contains the content of the document, such as text, images, videos, and interactive elements.
<h1>is a heading element that indicates the main heading of the page.
<p>is a paragraph element that indicates a block of text.
I hope this brief tutorial helps you get started with HTML. If you have any specific questions, feel free to ask!