elibraryportal Logo

HTML Example

Example

Test it Now

Example Explain

  • DOCTYPE declaration defines the document type to be HTML.
  • Describes an HTML document<html> and </html> .
  • <head> and </head> provides information about the document
  • <title> and </title> provides a title for the document.
  • <body> and </body> describes the visible page content.
  • <h1> and </h1>describes a heading.
  • <p> and </p> describes paragraph

How to Run HTML Code

There are following Steps.

Steps : 1 -> Write the code on NotePad

Steps : 2-> Save the file given by user such as test.html

HTML NotePad

Output :-

HTML NotePad
Next TopicHTML Heading