Wednesday, April 29, 2015

HTML Introduction

What is HTML?
HTML is a markup language for describing web documents (web pages).
      A. HTML stands for Hyper Text Markup Language.
      B. A markup language is a set of markup tags.
      C. HTML documents are described by HTML tags.
      D. Each HTML tag describes different document content.

Sample Code :

<!DOCTYPE html>
<html>

<head>
<title>Page Title</title>
</head>
<body>

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

</body>
</html>

Code Explained : 

A. The DOCTYPE declaration defines the document type to be HTML
B. The text between <html> and </html> describes an HTML document
C. The text between <head> and </head> provides information about the document
D. The text between <title> and </title> provides a title for the document
E. The text between <body> and </body> describes the visible page content
F. The text between <h1> and </h1> describes a heading
G. The text between <p> and </p> describes a paragraph

" The start tag is often called the opening tag. The end tag is often called the closing tag. "

Browser Output :



0 comments:

Post a Comment

Thanks For Coming The Page.