Tuesday, 15 December 2015

HTML Introduction

Welcome to Learn HTML with ABBDA. This Blog is for Web users learning to create their own Web pages using HTML, the standard tagging language for the World Wide Web.


ABBDA (www.ABBDA.com) is one of the top Web destinations to learn HMTL and many other Best Web languages.


HTML


With HTML, you can create your own Web site. HTML is the core technology in which all Web pages are written. This tutorial teaches you everything about HTML. HTML is easy to learn—you will enjoy it.


  • HTML stands for HyperText Markup Language.

  • HTML is not a programming language.

  • HTML is a markup language.

  • A markup language is a collection of markup tags.

  • HTML uses markup tags to describe Web pages.

What are Tags


  • HTML markup Tags are called HTML tags or just tags.

  • HTML tags are keywords surrounded by angle brackets e.g <html>

  • These tags normally come in pairs e.g <em> and </em>

  • first tag in pair is called starting tag, the second tag is called ending tag.

Attributes


The start tag may contain additional information. Such information is called an attribute. Attributes usually consist of 2 parts:


  • An attribute name

  • An attribute value
    example:

    <img src="smileyface.jpg" alt="Smiley face" />


  •  “alt” is name and “smiley face” is a value.

Comments and doctype


HTML has a mechanism for embedding comments that are not displayed when the page is rendered in a browser. This is useful for explaining a section of markup, leaving notes for other people who might work on the page, or for leaving reminders for yourself. HTML comments are enclosed in symbols as follows:


    example

 <!-- This is comment text -->

web pages


  • HTML documents describe web pages.

  • these documents contain html tags and plain text.


The  purpose of web browser is to read html documents and display them into web pages. the browser does not display the tags but use these tags for the content of page.


Example


<html>


<body>


<h1>My First Heading</h1>


 


<p>My First Paragraph</p>


 


</body>


</html>


Result


my first html program


Explanation


  • In the Previous example <html> and </html> describe the web page.

  • The text between <body> and </body> is visible page content.

  • Between <h1> and </h1> is displayed as Heading.

  • The text between <p> and </p> is displayed as Paragraph.

 


 


Tip:


<HTML> is a tag. Tags are instructions to a web browser. This Particular instruction Let the web browser know that what follow up a web page written in HTML.


Tags can be written in upper-case or lower-case. it doesn’t matter. <html><HTML> or <Html> are all same.


“Markup” now means something slightly different: a language with specific syntax that instructs a Web browser how to display a page


Please follow and like us:

HTML Introduction

No comments:

Post a Comment