Paramclasses Academy - Blog

Blog Details

First HTML Program

First HTML Program

October 7, 2024

Code:

<!DOCTYPE html>

<html lang="en">

<head>

    <meta charset="UTF-8">

    <meta http-equiv="X-UA-Compatible" content="IE=edge">

    <meta name="viewport" content="width=device-width, initial-scale=1.0">

    <title>Welcome to ParamClasses</title>

</head>

<body>

    <h1>Lets Start with Basic HTML</h1>

    <p>In this programm we learn about sturcture of html, Heading Tag and Paragraph Tag</p>

</body>

</html>

Explanation:

  • <!DOCTYPE html>: This tag defines the document type and version of HTML (HTML5 here).
  • <html>: This tag wraps all the content of the page.
  • <head>: Contains metadata like the page title, character set, etc.
  • <title>: Specifies the title of the page that appears in the browser tab.
  • <body>: This is where the visible content of the web page goes, such as headings and paragraphs.
  • <h1>: This is a heading tag, and <p> is a paragraph tag.

Copyright © Paramwebinfo Academy.All Rights Reserved

Designed by PARAMWEBINFO