As you know friends in the previous post we discussed the basic terms related to the html(hyper text markup language). Today i come with more basic html tags which important tags for structuring a simple webpage.
Also visit: Introduction to the html.
Html Tag <html></html>;
Html tags tell the browser that it is an html document. All the html tags are describe in html tags.
every tag has and opening and closing tag such as: <html></html>.
Head Tag <head></head>;
This is the first tag which comes after the html tag. It contains on title tag, meta tag, cascading style sheet (css), script and the external links are also located in this tag such as CSS (Cascading Style Sheet), Js ( JavaScript), VBscript etc.
Example
Example
<head><title> this is my first page </title><meta name=’keyword’ content=”html, css, JavaScript” /> (this is a meta tag)<link rel=”stylesheet” type=”text/css” href=”tutorialworld.css”/><scrip type=’text/javascript’>document.write(“hello world”);</script></head>
Body Tag <body></body>;
Body tag is the most important tag which comes after the head tag. It contain of content tags such as hyperlinks, text, list, tables, forms and frames etc. It is main and importan section of page because all things which appear the on the page is written in the body tag.
Example
<html><head><title>body tag</title></head><body><p>this is paragraph tag which indicate the paragraph in your webpage it leave a blank line before and after the paragraph.</p></body></html>
Paragraph Tag <p></p>;
This tag defines the paragraph in webpage it leaves blank line before and after the paragraph.
Example
<body><p>this is paragraph tag which indicate the paragraph in your webpage it leave a blank line before and after the paragraph. </p></body>
Heading Tags<h1> to <h6>;
These tags indicate different headings it start from h1 to h6 .H1 is the big heading all of these heading and h6 is smallest.
Example
<body><h1>HEADING </h1><h2>HEADING </h2><h3>HEADING </h3><h4>HEADING </h4><h5>HEADING </h5><h6>HEADING </h6></body>
Image Tag <img>
Html image tag is important with this tag you can make beautiful page. This tag defines html image tag to show the image on the webpage. "src" (source) where is your file locate. it is important write the format of the image otherwise it will not show the image.
Example
<body><img src="image.gif" /></body>
Link Tag ;
html link tag is another important tag even it is the back bone of the webpage without the link tag the webpage is nothing. Link tag defines the link tag in webpage. it is very important tag because links are important for the webpage and without link tag the webpage is incomplete.Link tag is <a href=""></a> ( a stand for anchor and href stand for hypertext reference) and the address of link written between the inverted commas.
Example
<body><a href="www.worldoftutorial9.blogspot.com">world of tutorial</a></body>
0 comments:
Post a Comment