HTML # 2 - Simple HTML Document Example - OnlineTutorialHub

Search This Blog

Theme images by Storman. Powered by Blogger.

About Fast Edition

Popular Posts

Pages

Services

Blog Archive

Sunday, 29 October 2017

HTML # 2 - Simple HTML Document Example

HTML Example:-



<!DOCTYPE html>
<html>
<head>
<title>A Simple HTML Document</title>
</head>
<body>
<h1>My First heading</h1>
<p>My First paragraph.</p>
</body>
</html>
onlinetutorialhub, HTML, HTML Example

Description of HTML Example:-
  • DOCTYPE: It defines the document type.
  • html : Text between html tag describes the web document.
  • head : Text between head tag contains meta information about the document.
  • title : Text between title tag specifies a title for the document.
  • body : Text between body tag describes the body content of the page that is visible to the end user.
  • h1 : Text between h1 tag describes the heading of the webpage.
  • p :Text between p tag describes the paragraph of the webpage.
This HTML document will produce the following result –

onlinetutorialhub, HTML, HTML Example





1 on: "HTML # 2 - Simple HTML Document Example"