Recent Updates Toggle Comment Threads | Keyboard Shortcuts

  • prabs 12:56 pm on February 1, 2010 Permalink | Reply
    Tags: B.TECH, , CSE. MDU B.tech 1st-5th sem, CSS, , DS, FOCP, , JAVA, JAVASCRIPT, MDU, OOPS, PHP, Presentation, tution   

    Your Search Ends Here 

    MDU B.tech C.S.E, 1st-5th Semester all subjects fully entact reference material (including presentations, finest notes). Starting from just Rs100/subject.

    Tutions for Data Structure, FOCP, OOPS like subjects(as per as syllabus of MDU), for only Rs500/subject.

    PHP, CSS, HTML, JAVASCRIPT, C++, C, JAVA tutions, for only Rs1000/subject.

    We also provide projects presentations and SRS at a very affordable rates.

    For further details contact us at: ultimatechange@gmail.com or call us at: +91-9999942838.

     
  • prabs 11:18 am on March 21, 2009 Permalink | Reply
    Tags: insert a table in website., table tag in html, tables in html   

    Tables-Html 

    Tag Name- <table>

    Description- This tag is generally used to insert a table into the web pages. Now as the table consists of rows and columns thus we have two more tags for this reasons-

    1. <tr>- i.e used to insert a new row in the table.
    2. <td>- i.e used to insert new column in the table.

    Generally we have to write “tr” tag first to insert a row after which we put tag “td” to insert no. of columns in that particular row.(See Ultimate exaple at end>>)

    Now coming to the attributes of table which are as follows:-

    • Border- i.e used to change the width of the border of the table.(e.g- border=”any integer value”; by default it is zero)
    • Width- i.e used to change the width of the table.(e.g- width=”any integer value”)
    • Height- i.e used to change the height of the table.(e.g- height=”any integer value”)
    • Align- i.e used to align the table.(e.g- align=”left/right/center”)
    • Bgcolor- i.e used to specify a colour as the table background.
    • Background- i.e used to insert an image as the table background.(e.g- background=”abc.gif”)
    • Border Color- i.e used to specify a colour for the table border.(e.g- bgcolor=”#ff000″)
    • Cellpadding- i.e used to adjust the distance between the cell’s content and the border of the table.
    • Celllspacing- i.e used to adjust the distance between the cell’s of the table.

    Note- If you change up the height or width of the table than width and height of the cell’s in the table will also get changed automatically.

    While beside this the other tag i.e<td> also have a no. of attributes like-

    • Width- i.e used to change the width of particular cell in the table.(e.g- width=”any integer value”)
    • Height- i.e used to change the height of particular cell in the table.(e.g- height=”any integer value”)
    • Align- i.e used to align the content of a particular cell in the table.(e.g- align=”left/right/center”)
    • Bgcolor- i.e used to specify a colour for a particular cell in the table.(e.g- bgcolor=”#ff000″)
    • Background- i.e used to insert an image in a particular cell in the table.(e.g- background=”abc.gif”)
    • Colspan- i.e used to merge a no. of columns into one.(e.g- colspan=”no. of columns to be merged”)
    • Rowspan- i.e used to merge a no. of rows into one.(e.g- rowspan=”no. of rows to be merged”)

    Ultimate Example

    <html><head><title>Table</title></head><body><center><h1>ultimatepedia</h1></center><br>

    <table border=”1″ align=”center” bgcolor=”#000fff” bordercolor=”white” height=”100″ width=”100″>

    <tr><td colspan=”2″>Cell01</td><td>Cell02</td><td>Cell03</td></tr>

    <tr><td>Cell11</td><td>Cell12</td><td>Cell13</td></tr>

    <tr><td>Cell21</td><td>Cell22</td><td align=”center”>Cell23</td></tr></table></body></html>

    Output

    Table

     
c
Compose new post
j
Next post/Next comment
k
Previous post/Previous comment
r
Reply
e
Edit
o
Show/Hide comments
t
Go to top
l
Go to login
h
Show/Hide help
shift + esc
Cancel
Follow

Get every new post delivered to your Inbox.