|
|||||||
Join now to download all the free website templates or post on the forum. If you have never been on a forum before read the
FAQ. It's quick, easy and free to join!
|
![]() |
|
|
LinkBack | Thread Tools | Display Modes |
|
|||
|
Hi,
When a web browser displays a page such as the one you are reading now, it reads from a plain text file, and looks for special codes or "tags" that are marked by the < and > signs. The general format for a HTML tag is: <tag_name>string of text</tag_name> As an example, the title for this section uses a header tag: <h3>What are HTML tags?</h3> This tag tells a web browser to display the text What are HTML tags? in the style of header level 3 (We'll learn more about these tags later). HTML tags may tell a web browser to bold the text, italicize it, make it into a header, or make it be a hypertext link to another web page. It is important to note that the ending tag, </tag_name> contains the "/" slash character. This "/" slash tells a web browser to stop tagging the text. Many HTML tags are paired this way. If you forget the slash, a web browser will continue the tag for the rest of the text in your document, producing undesirable results (as an experiment you may want to try this later). NOTE: A web browser does not care if you use upper or lower case. For example, <h3>...</h3> is no different from <H3>...</H3> Unlike computer programming, if you make a typographical error in HTML you will not get a "bomb" or "crash" the system; your web page will simply look, well... wrong. It is quick and easy to go inside the HTML and make the changes. Your browser has a small but open vocabulary! An interesting aspect of HTML is that if the browser does not know what to do with a given tag, it will ignore it! For example, in this document you are viewing, the header tag for this section really looks like this: <wiggle><h3>What are HTML tags?</h3></wiggle> but since your browser probably does not support a <wiggle> tag (I made it up, perhaps in the future it could cause the text to wave across the screen?), it proceeds with what it knows how to do. If I were programming a new web browser, I might decide to add the functionality for the <wiggle> tag into my software. Thanks & regards Lokananth |
|
|||
|
This is very useful article on HTML and contains some very core information about HTML. HTML is used to create the interface of a web page and it is mostly used for creating websites. But if you want some tags which you never find in HTML, You can use XML which allow you to define tags and their attributes.
Last edited by CovertPea; 10-15-2009 at 11:52 AM. |
|
|||
|
The HTML tag is very useful and used to all the sites very frequently.
<a href="http://www.abc.com"> <Title="Web hosting"> <meta keyword="web hosting company"> <meta description="web hosting company"> Last edited by CovertPea; 11-01-2009 at 01:32 AM. |
![]() |
| Thread Tools | |
| Display Modes | |
|
|