What is HTML?

HTML stands for HyperText Markup Language and is the language of the internet. It is the standard text formatting language used for creating and displaying pages on the Internet

HTML documents are made up of the elements and the tags that format it for proper display on pages. HTML is the backbone of web content, working alongside CSS (Cascading Style Sheets) for styling and JavaScript for interactivity.

<!DOCTYPE html>
<html>
<head>
    <title>My First Web Page</title>
</head>
<body>
    <h1>Welcome to My Web Page</h1>
    <p>This is a paragraph of text on my web page.</p>
</body>
</html>
  • <!DOCTYPE html>‘ declares the document type.
  • <html>‘ is the root element.
  • <head>‘ contains metadata about the document.
  • <body>‘ contains the content that will be displayed on the page.
  • <h1>‘ is a heading tag.
  • <p>‘ is a paragraph tag.

administrator

Leave a Reply

Your email address will not be published. Required fields are marked *