1. This website uses cookies. By continuing to use this website you are giving consent to cookies being used.
    For information on cookies and how you can disable them visit our Cookie Usage page.
    Dismiss Notice

HTML What are HTML tags?

Discussion in 'Web Development' started by gilbertsavier, Aug 4, 2009.

  1. gilbertsavier

    gilbertsavier New Member

    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
     
  2. ilinakona

    ilinakona New Member

    Thank you for the thread. I am a newbie of HTML learner.
     
    Last edited by a moderator: Apr 5, 2015
  3. bmcoll3278

    bmcoll3278 New Member

    Nice tutorial . How about
    <html><head><body> for newbies
     
  4. reganstar

    reganstar New Member

    Thank you for tutorial. Very helpful!
     
  5. Khushboo

    Khushboo New Member

    Thank you very much, you can also visit w3schools.com for advance level HTML.
     
  6. harrisdefth

    harrisdefth New Member

    Well HTML is one of the best language for designing and thanks for sharing this information with us. It is very helpful to us.
     
  7. nachiketkhanna

    nachiketkhanna New Member

    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">
     
  8. jyothireddy

    jyothireddy New Member

    In html, every tag starts with "<" and ends with ">". whatever inside those are called HTMl tags. There are lot of tags. Please refer www.w3schools.com
     
  9. Andrew paul

    Andrew paul New Member

    HTML tags are used to create a web page in an attractive manner and main aim is to easily understand by the users.
     
  10. Tabish khan

    Tabish khan New Member

    its really a wonderful tutorial it really helped me a lot.
     
  11. daviddakarai

    daviddakarai Member

    In html, every tag starts with "<" and ends with ">". some tags are<html>,<head>,<title>,<script>,<meta>,<body>
     
    Last edited: Jan 26, 2015
  12. Pravin Madalia

    Pravin Madalia New Member

    it is hyper text markup language
     
  13. MagentoSite

    MagentoSite New Member

    <a> ANCHOR tag creates <a href="http://www.fillster.com">link</a> to other internet location, or file.
    <abbr> ABBREVIATION tags indicate interpretation of the meaning to the browsers and search engines for such as kind of abbreviations as "Inc.", "etc.".
    <acronym> ACRONYM tags defines an acronym, like; <acronym title="World Wide Web">WWW</acronym>.
    <address> ADDRESS tags are used to identify the author's contact information for a section or a document.
    <applet> APPLET element tags are used to embed and invoke a Java application within an HTML page.
    <area> AREA tag defines a section of an image.
    <b> BOLD tag is specifying <b>bold section</b> within the text document.
    <base> BASE tag defines information regarding to the links on the page.
    <basefont> BASEFONT tags defines changes of all text appearance on the web page.
    <bdo> BDO tag is specifying the direction of text display by overwriting the default value from Left to Right. <bdo dir="rtl">Right to Left</bdo>
    <bgsound> BGSOUND tag is defining a background sound for a webpage.

    <html>
    <head>
    <bgsound src="JingleBells.wav" loop="3">
    </head>
    <body>
    </body>
    </html>

    Demo • Example
    <big> BIG tag makes the <big>text larger</big> then the rest of the text.
    <blockquote> BLOCKQUOTE tags <blockquote>separate a section</blockquote> of text from the surrounding text.
    <blink> BLINK tags defines text to <blink>blink</blink> repeatedly. Internet Explorer doesn't support this tag yet.
    <body> <html>
    <head>
    </head>
    <body>
    Body tags identify the content of a web page.
    </body>
    </html>
    <br> Line Break tag is specifying<br>
    a new line
    <button> BUTTON tag is used to create a <button type="button">Push Button</button>
    <caption> <table>
    <caption>CAPTION tag adds a caption to a table.</caption>
    <tr>
    <td>
    </td>
    </tr>
    </table>
    <center> <center>CENTER tags center text, images, etc.</center>
    <cite> <cite>CITE tags defines a citation and displaying in italics.</cite>
    <code> CODE tags are used for example, to indicate a code of the current <code>htmltags.html</code> page.
    <col> COL tags are used to define column properties for table columns.

    <table>
    <colgroup span="2">
    <col width="60" align="left"></col>
    <col width="80" align="center"></col>
    </colgroup>
    <tr>
    <td>1st Column</td>
    <td>2nd Column</td>
    </tr>
    </table>
    <colgroup> COLGROUP tags are used to define groups of table columns.

    <table>
    <colgroup span="2">
    <col width="60" align="left"></col>
    <col width="80" align="center"></col>
    </colgroup>
    <tr>
    <td>1st Column</td>
    <td>2nd Column</td>
    </tr>
    </table>
    <dd> DD tag defines a definition description.

    <dl>
    <dt>NASA</dt>
    <dd>National Aeronautics and Space Administration</dd>
    <dt>MBA</dt>
    <dd>Master of Business Administration</dd>
    </dl>
    <dfn> DFN tags emphasize definition, for example; <dfn>PC</dfn>: Personal Computer.
    <del> DEL tag indicates <del>deleted text</del>
    <dir> DIR tags define directory lists.

    <dir>
    <li>First</li>
    <li>Second</li>
    <li>Third</li>
    </dir>
    <dl> DL tag defines a definition list.

    <dl>
    <dt>CSU</dt>
    <dd>California State University</dd>
    <dt>UN</dt>
    <dd>United Nations</dd>
    </dl>
    <div> DIV tag is a logical section of a web document.

    <div>
    <h1>Home Pets</h1>
    <p>Cats</p>
    <p>Dogs</p>
    </div>
    <dt> DT tags defines a definition term.

    <dl>
    <dt>HTML</dt>
    <dd>HyperText Markup Language</dd>
    <dt>CSS</dt>
    <dd>Cascading Style Sheets</dd>
    </dl>
     
    xoomsolutions likes this.
  14. James Anderson

    James Anderson New Member

    HTML (Hyper text markup language) is a website development language where we can coding about website designing. In html coding we are mention such sequence
    <html>
    <head>
    <title> .... </title>
    </head
    <body>
    </body>
    </html>
     
  15. David McClemans

    David McClemans New Member

    <a> ANCHOR tag creates to other internet location, or file.
    <abbr> ABBREVIATION tags indicate interpretation of the meaning to the browsers and search engines for such as kind of abbreviations as "Inc.", "etc.".
    <acronym> ACRONYM tags defines an acronym, like; <acronym title="World Wide Web">WWW</acronym>.
    <address> ADDRESS tags are used to identify the author's contact information for a section or a document.
    <applet> APPLET element tags are used to embed and invoke a Java application within an HTML page.
    <area> AREA tag defines a section of an image.
    <b> BOLD tag is specifying <b>bold section</b> within the text document
    <base> BASE tag defines information regarding to the links on the page.
    <basefont> BASEFONT tags defines changes of all text appearance on the web page.
    <bdo> BDO tag is specifying the direction of text display by overwriting the default value from Left to Right. <bdo dir="rtl">Right to Left</bdo>
    <bgsound> BGSOUND tag is defining a background sound for a webpage.

    <html>
    <head>
    <bgsound src="JingleBells.wav" loop="3">
    </head>
    <body>
    </body>
    </html>
     
    Last edited: Sep 14, 2015
  16. BillMonkey

    BillMonkey New Member

    So HTML is the language of one of the best design and thanks for sharing this information with us. This is very useful for us.
     
  17. margaretcogburn

    margaretcogburn New Member

     
  18. margaretcogburn

    margaretcogburn New Member

    It is a basics of html.more than writing we can make it good appearance using different tags.most tags need <tag></tag>.In some closing tag is not must.for example of inserting image <img src=" ">is enough.
     
  19. Bruce Kenway

    Bruce Kenway New Member

    Nice basic turorial, thank you very much.
     
  20. GRIFFITH

    GRIFFITH New Member

    HTML tags are the hidden keywords within a web page that define how the browser must format and display the content. Most tags must have two parts, an opening and a closing part. For example, <html> is the opening tag and </html> is the closing tag.