Html stands for hyper text markup language. It is not a programming language. This is a markup language. Markup language is a set of markup tags. Mark up tags is used for WebPages. Markup tags are the keywords surrounded by angle brackets. Most of the tags in the html are in pair. First tag is for starting the tag and second tag for closing the tag. Html document is nothing but webpage. The browser reads the html tag for displaying webpage.

The basic syntax of html program:

………………..

Statements

…………………….

Here is the starting tag and is the ending tag.

Html does not need any software to install. Only a browser and an editor is enough for performing html.

Most of the people use notepad for html programming. For editing the html programs we use Dreamweaver and visual studio. After writing a program in the editor save it with the extension .html or .htm as both are same.

Header tags:

---

,

,

,

….

,
….
and
….
are known as header tags.

Syntax:

text

text

text.

text

text

text

Paragraph tag:

Paragraph tag is used to give space between paragraphs

Syntax:

paragraphs

Html Link:

Html link is defined by using anchor tag. Html link is used to join WebPages.

Syntax:

website name

Html image:

Image tag is used for inserting the image in the webpage.

Syntax:

Src =source, width and height are the attributes of the image.

Body tag:

This defines the body of the element. This comes after the html tag in the html program.

Statements

Whatever tags we use and the code we right should be in body tag.

Never forget end tags as browser doesn’t show any error. So that you may not get you’re desired output.

Break tag:

Break tag is a empty tag .It has no closing tag.


- break tag

Html is not case sensitive.

 

Attributes of Html:

Attributes are used to know additional information about the html elements. The values of the attributes always should be closed with quotes.

Example :            http://www.seoupdates-sarala.blogspot.com">This is a link

Here, the href is the attribute.

Lines:

tag is used to separate the content with lines.

It does not contain starting tag, it is single tag one.

Comments:

Comment tag can be inserted between the html program. This tag is used for the readability of the program, but they are ignored by the browser.

Html source in a webpage can be viewed by right click and clicking view source.

Html tags which format:

- bold the text

- Italic text

 

 

 

 

 

 

 

 

 


Like it on Facebook, Tweet it or share this article on other bookmarking websites.

No comments