HTML

HTML Projects

HTML Project

adplus-dvertising
GENERAL TAGS LISTS
Previous Home Next

Here we discussed html tags one by one with examples.

the very first is <!DOCTYPE>: It is not the tag it is a instruction to the browser about what mark up language in which the page is written.it comes before the html tag.

the <html> tag: This tag is the starting tag of html program it tells the browser that it is a html document.

<html>
<head>
<title>the title of document is html document></title>
</head>
</html>

the <head> tag: It contains all the head elements like <title>,<base>,<link>,<meta>,<script>

<html>
<head>
<title > this is html document</title>
<body>
it contains all the data which is to be appears on the screen
</body>
</head>
</html>

The <title> tag: This tag contains the information which appears on the browsers title bar.

<html>
<head>
<title> my html document</title>
<body> it contains text which is to be displayed on the screen
</body>
</head>
</html>

The <body> tag: this tag contains the text which is to displayed on the the screen the above example of <title> tag also contains the body tag .

Heading tag <h>: Heading tag is used to give heading to the document. its range goes from <h1 >-<h6 >. the size of font goes larger to smaller from <h1 > to <h6 >

<html>
<head>
</body>
<h1> this is my html document</h1>
<h2> this is my html document</h2>
<h3>this is my html document</h3>
<h4>this is my html document</h4>
</body>
</head>
</html>

<a> tag also called link tag: this is an anchor tag .it is used to link to another document using href attribute and to create a bookmark inside the document by using the name attribute.

<html>
<body>
<a href="http:// www.r4r.co.in"> visit the site</a>
</body>
</html>

<abbr> tag: This tag describes an abbreviation

<html>
<body>
<abbr title ="R4R CO IN>E-Learning </abbr> Solution.
</body>
</html>

<img> tag: image tag has no closing tag .it is used to display images on the web page. it works with src attribute. html image tags are

<img/> it defines the image

<map> it defines an image map

<area/> defines area inside the map syntax for image tag

<img src="url" alt="some_text"/>

alt is attribute used to give alternate text for the image

Previous Home Next