About HTML


HyperText Markup Language (HTML)

Introduction

·         HTML is a markup language for describing web documents (web pages).
·         A markup language is a set of markup tags
·         HTML documents are described by HTML tags
·         Each HTML tag describes the different document content

Example

<html>
          <head>
                   <title>Page Title</title>
          </head>
<body>
                   <h1>This is a Heading</h1>
                   <p>This is a paragraph.</p>
</body>     
</html>

Output


·         The text between <html> and </html> describes an HTML document
·         The text between <head> and </head> provides information about the document
·         The text between <title> and </title> provides a title for the document
·         The text between <body> and </body> describes the visible page content
·         The text between <h1> and </h1> describes a heading
·         The text between <p> and </p> describes a paragraph

Sample 01

<html>
      <head>
                       <title>Hyper Text Markup Language</title>
       </head>
       <body>
                        <center>Welcome To Sharp Land</center>
       </body>
</html>

No comments:

Post a Comment