Join TalkersCode Now !

Get Latest Tutorials And Links On Web Development
And Get Existing Offers Via Email

HTML Introduction

HTML Introduction

HTML (Hyper Text Markup Language) is the language used to create web page documents. There are a few versions of HTML in use today: HTML 4.01 is the most firmly established and the newer, more robust HTML5 is gaining steam and browser support.
                  HTML is not a programming language it is a markup language, which means it is a system for identifying and describing the various components of a document such as headings, paragraphs, and lists.

Example of Simple Webpage

<!DOCTYPE html>
<html>
 <head>
  <title>This Is a Simple Webpage</title>
 </head>
 <body>
  <h1>This is a Heading</h1>
  <p>This is a Paragraph</p>
 </body>
</html>

Here is the result of above code this is how your webpage looks like when you run the code in your browser.


This is a Heading

This is a Paragraph



Code Explanation:

  • HTML documents are described by HTML tags

  • Each HTML tag describes different document content

  • <!DOCTYPE html>defines the document type and HTML version current version of HTML is 5 and it makes use of the following declaration.

  • <html>defines starting of an html document.

  • <head>it is the document header which consist of many tags like <title>,<meta> etc.

  • <title>it defines the title of the webpage.

  • <body>it has the contents of webpage tags like <p>,<h1>, div>,<a> etc.

  • <h1>represents the heading.

  • <p>represents the paragraph.



Simple Webpage Structure

<html>
 <head>
  Document header related tags
 </head>
 <body>
  Document body related tags
 </body>
</html>

Next

Join Us With Our 21000+ Subscribers And Get Our Latest Tutorials Update Via Email

Are You Starting A New Blog
Do You Want Best Web Hosting?

Try World's Best Web Hosting Provider BlueHost
At Just $3.95/mo

Hurry Up! Limited Time Offer

Yes, I Want To Check Out BlueHost

Check The World's Best SEO And All-In-One Marketing Toolkit
For Digital Marketing Professionals SEMRUSH

Check Out SEMRUSH