Hyper Text Markup Language

Hyper Text Markup Language

what is html ?

  • HTML stands for Hyper Text Markup Language

  • HTML is the standard markup language for creating Web pages

  • HTML describes the structure of a Web page

  • HTML elements tell the browser how to display the content

    Tools to use for creating a website and giving basic-level instructions to the computer.

    Syntax refers to the rules for writing code, similar to grammar in language

    HTML TAGS (2 tags)

    1. opening tag

    2. closing tag

    opening tag
    <head>

    closing tag
    </head>

What is an HTML Element?

An HTML element is defined by a start tag, some content, and an end tag:

<tagname> Content goes here</tagname>

<h1>used for Heading</h1>

<p>used for paragraph.</p>

    <html>
    <head>
    <title>ELEMENTS</title>
    </head>
    <body>
    <h1>HELO EVERYONE</h1>           
    <P> I AM BHAVANA PURSING MY MCA FIRST YEAR FIRST SEM IN SDC </p>        
    <p>WELCOME TO MY VERY FIRST PAGE OF BLOG WHICH IS ABOUT HTML FROM BASIC </p>        
    </body>
    </html>

OUTPUT

  • Structure of HTML

<!DOCTYPE html>
<html>
<head>
<title>Page Title</title>
</head>
<body>

<h1>This is a Heading</h1>
<p>This is a paragraph.</p>

</body>
</html>