Tuesday, August 17, 2010

HTML Styles, Links, Images, Tables & Lists

This one is for the second set of topics for posting your assigned questions and answers.... Cheers....

15 comments:

  1. Good Afternoon friends...
    My Question was::

    EXPLAIN THE DIFFERENCE BETWEEN TABLE HEADER AND TABLE CAPTION ....?

    Answer is ::

    TABLE HEADER:: In very simple term Table header is used to give heading to the column of table. If Student is table then its column heading are NAME, AGE, CLASS, ROLL.NO etc. All these are used as Table Heading.We mainly use "th" tag for defining table header

    Table Caption:: If we wants to give name to the table then we use "CAPTION" tag within "table"......"/table" but immediate after "table" tag. This caption can either appear above or below the table. This can be indicated with the ALIGN attribute.

    ReplyDelete
  2. Good Evening to all,

    My question is from IMAGES

    Q IF HTML FILE CONTAINS TEN IMAGES- HOW MANY FILES REQUIRED TO DISPLAY THE PAGE RIGHT?

    Ans. 11 FILES ARE REQUIRED TO DISPLAY THE PAGE RIGHT BECAUSE 10 FILES ARE IMAGE FILES AND 1 IS MAIN FILE WHERE LINKS ARE CREATED FOR IMAGE FILES.


    Sunaian Mahajan

    ReplyDelete
  3. hello sir... why these listed people are contributors?

    ReplyDelete
  4. Good evening sir.

    Question:: what is the purpose of "td" tag ?
    Answer:: "td" stands for table data. "td" tag is a paired tag. this means that "td" element consists of opening "td" tag , content and closing "/td" tag."td" is used to insert data into cell under particular column...
    thanks..

    ReplyDelete
  5. i got your mail. but sir for contribution we must have gmail account. can i accept your invitation as yahoo user?

    ReplyDelete
  6. A Very Good Evening To All....

    Thanks For Question,It Was:
    In Links,Name Attribute is Used For.........

    My Answer Is:
    The name attribute specifies the name of an anchor.

    Example
    A named anchor inside an HTML document:

    GJIMT MOHALI

    Create a link to the "GJIMT MOHALI" inside the same document:
    "# NAME OF ANCHOR(here is GJIMT)" IS USED TO CALL ANCHOR.

    Visit GJIMT MOHALI

    Or, create a link to the "GJIMT MOHALI" from another page:


    Visit GJIMT MOHALI

    ReplyDelete
  7. hello friends


    ya sunaina sure.....you can accept your invitation as a yahoo user...

    ReplyDelete
  8. This comment has been removed by the author.

    ReplyDelete
  9. hello sir my answer to given ques is below
    ques. explain src tag in HTML.
    ans. The "img" Tag and the Src Attribute

    In HTML, images are defined with the "img" tag.

    The
    "img" tag is empty, which means that it contains attributes only, and has no closing tag.

    To display an image on a page, you need to use the src attribute. Src stands for "source". The value of the src attribute is the URL of the image you want to display.

    Syntax for defining an image:

    "img src="url" alt="some_text"/"
    The URL points to the location where the image is stored. An image named "boat.gif", located in the "images" directory on "www.w3schools.com" has the URL: http://www.w3schools.com/images/boat.gif.

    ReplyDelete
  10. This comment has been removed by the author.

    ReplyDelete
  11. Links

    Ques:- Explain <" a href=" http://www.w3schools.com/" target="_blank" ">visit w3schools website!<"/a">.


    Ans:- HTML Hyperlinks (Links)

    A hyperlink (or link) is a word, group of words, or image that you can click on to jump to a new document or a new section

    within the current document.
    When you move the cursor over a link in a Web page, the arrow will turn into a little hand.
    Links are specified in HTML using the <"a"> tag. The <"a"> tag can be used in two ways:-

    1. To create a link to another document, by using the href attribute.

    2. To create a bookmark inside a document, by using the name attribute.


    HTML Link Syntax

    <" a href="url" ">Link text<"/a">


    HTML Links - The Target Attribute

    The target attribute specifies where to open the linked document.

    The example below will open the linked document in a new browser window:-

    <" a href=" http://www.w3schools.com/" target="_blank" ">visit w3 schools website!<"/a"> "

    We can also write this as:-

    <"a target="_blank" href="http://www.w3schools.com/" ">visit w3 schools website!<"/a">


    There are predefined options for the target attribute. They are as follows:-

    1) _blank will open a new browser window with no name.

    2) _self will replace the current html page, so if it is in a frame or frameset it will load within that frame. If it is the

    full browser, it will open to replace the page in the full browser.

    3) _parent will replace the html page it came from.

    4) _top will load in the current browser by replacing anything within the browser such as a frameset.

    Source(s):-

    1. " http://www.w3schools.com/tags/att_a_target.asp "

    2. " http://www.developingwebs.net/html/targetattribute.php "

    ReplyDelete
  12. good evening sir my question was
    Ques.what is the meaning of "dt" & "dd" tags in list tag in HTML

    A definition list is a list of items, with a description of each item.

    The "dl" tag defines a definition list.

    The "dl" tag is used in conjunction with "dt" (defines the item in the list) and "dd" (describes the item in the list):

    "dl"
    "dt"Coffee"/dt"
    "d"-hot drink"/dd"
    "dt"Milk"/dt"
    "dd"- white cold drink"/dd"
    "/dl"
    How the HTML code above looks in a browser:

    Coffee
    - hot drink
    Milk
    - white cold drink

    ReplyDelete
  13. I am glad that 7 people have put their answers.... All have done well and I congratulate you all for starting this new way of learning....I am learning a lot from all of you.... One can only grow if he or she is open to learning and learn something new each day.... My vote out of these seven would go to Richa who explained very comprehensively and in simple language.... Cheers....

    ReplyDelete
  14. Hello Friends..... Just look at this blog.... I want you all to build something like this over this semester.... We can give any name to it...
    http://www.natcoll.ac.nz/blog/
    Cheers....

    ReplyDelete
  15. My Vote Too Goes With Richa.

    It Has Three Reasons: -

    1. Simple Language
    2. Clarity About Full Topic.
    3. Presentation About Topic.


    Others Has Just Done A Cumbersome Work While Writing Or Posting Their Views Or Answers.



    Regards !!!

    Inderpal Singh Uppal

    ReplyDelete