You must Sign In to post a response.
  • Category: School Homework Help

    What are the basic HTML tags? What are links? Which tag is used to insert links?

    We all know that HTML tags are used in article writings. All HTML documents are created by usng tags. Container and empty tags are used in HTML. I have heard that the HTML tags are used to add sound to the web pages. I would like to know details about basic HTML tags and how tags are used to insert links, what are links?
  • Answers

    7 Answers found.
  • Hi Nupur,

    Some of the basic html tags that are needed to develop simple pages are:
    html, body, font, frame, li, anchor ,image tag etc

    Out of these html and body tags are common. Also, font tag is used to select the font of the text to be displayed in the page.

    Frame: Frame is the mechanism of dividing a web page into number of panels. For this purpose, frame tag is used in html.

    List: To display lists, li tag is used. Most of the times, we are arised with the need to display the contents in the form of a list. So, li tag is useful here. It is available in 3 forms i.e. ordered list, unordered list and definition list.

    Now, the anchor tag, which you require.

    First of all, the links are the text or graphics in the web page that can be used to navigate, i.e. by clicking them we are taken to some other web page. A link can be text or some graphic like image.

    The links can be displayed by using the anchor tag. Anchor tag is denoted by

    Anchor tag has various attributes. Out of these the href attribute is used to give the path of the page to which you want to navigate after clicking the link.

    Eg.
    Click here

    here, this link is going to open your question itself (If you want to see how, it works you must refer anchor tag). The clickable text can be displayed by adding it in between opening and closing anchor tag. In this case, it is click here.

    Moreover, there are two types of links, internal and external.
    The internal links are used to navigate on the same page(Eg. link to top or bottom of the same page), while the external links are used to navigate on some other page.

  • Thanks Sudhir, you have explained HTML well. I really needed to know it.

  • Hello Nupur,

    Mr. Patil stated about some basic tag(s).

    Lets know more about html tags and their attributes. As you know, a tag is nothing but a normal text enclosed with angle (<...>) brackets which bears some specific signal to the browser and the browser works accordingly.
    1. Basically, and HTML document has three sections, viz. HTML section, HEAD section and BODY SECTION.

    Here are some basic tags and their usage-

    1. HTML - This tag is used for declaring the page as HTML. This is the container tag of heading tag and body tag.

    2. HEAD- This tag is heading tag. This is used for creating the heading of the page. This is container tag of title and meta tag and other functions.

    3. TITLE - This tag is used for providing the title of the webpage. This tag is including in the closed HEAD tag.

    4. BODY - This tag is used for creating the body part of the webpage. All other HTML tags stated below are always take their place between open and closed BODY tag.
    Body tags has some attributes-
    a) bgcolor - This attribute is used for providing the background colour of the webpage. The value of this attribute is either a colour name or a hexadecimal colour value.
    b) text - This attribute is used for providing the text/font colour of the webpage. Its value is also a valid colour name or a hexadecimal colour value.

    Below this point, all described tags you can use in a webpage as well as in any forum article.

    5. BR - This is a break tag. You can use this tag to break a line. This tag has no clossing, i.e. ().

    6. B - This is formatted tag. This tag is used for making the content between this tag BOLD

    7. U - This tag is used for providing underline to the text between this.

    8. I - This tag is for creating text italic.

    9. H1, H2, H3, H4, H5 and H6 - These tags called heading tag. You can use these tag to get different sizes of fonts.

    10. FONT - This is a formating tag. This tag has many attributes-
    a) face - This attribute is used for text formating.
    b) color - This is used to give colours to the text.
    c) size - This is used for giving a definite size to texts between the tag. The value of this tag should be a digit.

    11. CENTER - This tag is used for aligning the contents between this tag into the center of the webpage or the browser.

    12. SUP - This tag is superscript tag and used to get the superscript output of the content between.

    13. SUB - This is subscript tag and used to get the subscript output of the content between.

    14. STRIKE - This tag is used for striking the content.

    15. PRE - This is preformatted tag and it is responsible for displaying the content as it is written.

    16. BLINK - This tag is used for blinking the contents between. This tag is working in "Netscape" navigator but not working in 'IE'

    17. IMG - This is image tag and used for inserting images to the webpage. It has some attributes-

    a) src - This is a mandatory tag which is used for specifying the location of the image along with its name. Its value is either the image name or the path of the image.

    b) height - This attribute is used for specifying the height of the image in terms of pixels or in terms of % height of the window.

    c) width - This attribute is used for specifying the width of the image in terms of sewels or in terms of % width of the window.

    d) align - This attribute is used for aligning the image. Its value is among the following -
    ¡) center
    ¡¡) left
    ¡¡¡) right.

    ** There are many more tag used in HTML. But these are the main tag that you can use in any forum. There is a LIST and FORM tag also. You may find all about these in resource section.

    Regards,
    Sultan.
    Lead Editor

    If success is 1, then its definite that you're starting from Zero!

  • Make sure that you have closed the tag after you have written the contents. If you forgot to close a tag, it will effect on all contents and the other tags below the point won't work properly.

    Regards,
    Sultan.
    Lead Editor

    If success is 1, then its definite that you're starting from Zero!

  • Hi,

    Please find below simple and clickable html link example;

    For a simple link in your content, use the below method
    <a href="Type Complete URL here">/<Type text here>

    Another URL as below;
    http://www.indiastudychannel.com/resources/145204-How-use-HTML-tags.aspx
    to put this on clickable link - follow the below method
    <a href="https://www.indiastudychannel.com/resources/145204-How-use-HTML-tags.aspx">Type text here or type as How to use HTML Tags</a>

    Its result as below;
    Type text here or type as How to use HTML Tags


    Kindly check the below URL link that too help you.

  • Hi,
    I also need the same. I posted my question in forum section and from there I got very valuable answer by respected senior members. I also received a ms office document that contains all the HTML tags and their description.
    These tags are very easy to understand.
    I will mail you that doc file later, since it is not here at my office computer.

    Honesty is the best policy.


  • Sign In to post your comments