All about Computer

Monday, November 28, 2016

HyperText Markup Language (HTML) Introduction

 HyperText Markup Language (HTML):

 It is a computer language to design webpages.HTML is the standard markup language for creating web pages and web applications.HTML describes the structure of Web pages using markup. It is a tag oriented language.

Hyper Text: 

Hypertext is text that links to other information. By clicking on a link in a hypertext document, a user can quickly jump to different content. Though hypertext is usually associated with Web pages.

 Markup language:

Markup refers to the sequence of characters or other symbols that you insert at certain places in a text or word processing file to indicate how the file should look when it is printed or displayed or to describe the document's logical structure. The markup indicators are often called "tags." 

Example of HTML program:

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

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

</body>
</html> 

 

HTML Tags

  • HTML tags normally come in pairs like <p> and </p>
  • The first tag in a pair is the start tag, the second tag is the end tag
  • The end tag is written like the start tag, but with a forward slash inserted before the tag name

 HTML is executed in any browser.

html page structure
Fig No 1:HTML page structure


No comments:

Post a Comment