HTML

HTML stands for Hypertext Markup Language. HTML is the standard markup language

 for creating web page. And for decover the page CSS(Cascading Style Sheet) and 

Scripting language are used.

 HTML is not a Programming Language so it dosen't  requrie any Programming knowledge.

There are diffrent types or verisions of HTML....

  • HTML+
  • HTML 1.0
  • HTML 2.0
  • HTML 3.2
  • HTML 4.01  (IT has acessibility of CSS and Multimedia)
  • HTML 5.0    (IT has acessibility of local storage and offline database)
Now we see the information about the latest version of HTML 5.....

  • Its file name extension is .html or .htm
  • Internet media type - text/html
  • Type code - TEXT
  • Type of format - Document file format
Markup

Why HTML is called Markup Language ?

Hypertext means machine readable text and markup means to structure it in a specific 

format so HTML is kmown as hypertext markup langugae .

HTML markup consist of several key components, including those called tags, character-based data types, character references and entity reference.

Tags

Lets see what is tags in HTML....

HTML tags are like keywords which defines that how web browser will format 

display the content.

With the help of tags a web browser can distinguish between an HTML content and 

content and closing and tag.

HTML tages most commonly come in pairs like <h1> and </h1> . In which first tag 

is start tag/opening tag and the second is end tag/closing tag.

Although some represent empty elements and so are unpaired for example <img>.

See some tags-

  • <html>...........</html>------(The root element)
  • <head>..........</head>-------(The document head)
  • <title>
  • <body>
  • <h1>.....</h1>
  • <p>.......</p>
  • <a> etc.
In above tag <h1> is used for heading. As the no increases like <h1>,<h2>.......<h6>

the boldness of heading decreases. The tag <p> is used for paragraph and tag <a>

is used for link.

 HTML Document Structure

 When we creating a page in HTML you will often refer to it as a document . HTML document

 have two major section : The head and the body.

The body will contain all the content :  Text ,images and anything on the page.

The head will contain information about the page .

 The basic page structure...

<!doctype html>

<html lang ="en">

<head>

</head>

<body>

</body>

</html>

Explanation...

  1. Frist define the document type which is HTML.
  2. Start your HTML content with in opening <html>tag that include a language atributes . This could be "en" for English.
  3. Define and close the document <head>.
  4. Define the document body and fill it with elements.
  5. Conclude your HTML content with a closing tag </html>.


Comments

  1. This comment has been removed by a blog administrator.

    ReplyDelete

Post a Comment

Popular posts from this blog

General Page Structure of HTML