A Simple HTML Document

  • The <!DOCTYPE html> declaration defines this document to be HTML5
  • The <html> element is the root element of an HTML page
  • The <head> element contains meta information about the document
  • The <title> element specifies a title for the document
  • The <body> element contains the visible page content
  • The <h1> element defines a large heading
  • The <p> element defines a paragraph.
For Example:
<!DOCTYPE html>
<html>
<head>
<title>Page Title</title>
</head>
<body>

<h1>My First Heading</h1>
<p>My first paragraph.</p>

</body>
</html>
output:

My First Heading

My first paragraph.

Note:



This is a simple HTML document. If you want some other Knowldege about regarding the web 
designing i will help you as possible as.

Share this:

CONVERSATION

2 comments: