1 / 19

Creating your Webpage with tables

Creating your Webpage with tables. This is a 2 column by 1 row table!. This is the code for the table!. <table width="400" border="1" align=" center " bgcolor ="white"> < tr > <td>< img src =" alfie.jpg“ width =200 height=400 ></ td>

adria-brown
Télécharger la présentation

Creating your Webpage with tables

An Image/Link below is provided (as is) to download presentation Download Policy: Content on the Website is provided to you AS IS for your information and personal use and may not be sold / licensed / shared on other websites without getting consent from its author. Content is provided to you AS IS for your information and personal use only. Download presentation by click this link. While downloading, if for some reason you are not able to download a presentation, the publisher may have deleted the file from their server. During download, if you can't get a presentation, the file might be deleted by the publisher.

E N D

Presentation Transcript


  1. Creating your Webpage with tables

  2. This is a 2 column by 1 row table!

  3. This is the code for the table! <table width="400" border="1" align="center" bgcolor="white"> <tr> <td><imgsrc ="alfie.jpg“ width =200 height=400 ></td> <td><h1><center>Here is Alfie</h1><p>lots of writing lots of writing lots of writing lots of writing lots of writing lots of writing lots of writing lots of writing lots of writing lots of writing lots of writing lots of writing lots of writing</p></td> </tr> </table>

  4. Menu

  5. Table Making • Click on the table layout you would like to do! Menu

  6. 1 Row and 2 Columns • Go to your web page and copy the code below • Replace the Section# with your HTML • Save your page • View your page <br> <table width="400" border="1"> <tr> <td>Section1</td> <td>Section2</td> </tr> </table> Menu

  7. 1 Row and 3 Columns • Go to your web page and copy the code below • Save your page • View your page <br> <table width="400" border="1"> <tr> <td>Section1</td> <td>Section2</td> <td>Section3</td> </tr> </table> Menu

  8. 1 Row and 4 Columns • Go to your web page • Copy the code • Replace the Section# with your HTML • Save your page • View your page <br> <table width="400" border="1"> <tr> <td>Section1</td> <td>Section2</td> <td>Section3</td> <td>Section4</td> </tr> </table> Menu

  9. 2 Rows and 2 Columns • Go to your web page and copy the code below • Save your page • Replace the Section# with your HTML • View your page <br> <table width="400" border="1"> <tr> <td>Section1</td> <td>Section2</td> </tr> <tr> <td>Section3</td> <td>Section4</td> </tr> </table> Menu

  10. 2 Rows and 3 Columns <br> <table width="400" border="1"> <tr> <td>Section1</td> <td>Section2</td> <td>Section3</td> </tr> <tr> <td>Section4</td> <td>Section5</td> <td>Section6</td> </tr> </table> • Go to your web page • Copy the code • Save your page • Replace the Section# with your HTML • View your page Menu

  11. 3 Rows and 2 Columns <br> <table width="400" border="1"> <tr> <td>Section1</td> <td>Section2</td> </tr> <tr> <td>Section3</td> <td>Section4</td> </tr> <tr> <td>Section5</td> <td>Section6</td> </tr> </table> • Go to your web page • Copy the code • Save your page • Replace the Section# with your HTML • View your page Menu

  12. <br> <table width="400" border="1"> <tr> <td>Section1</td> <td>Section2</td> <td>Section3</td> <td>Section4</td> </tr> <tr> <td>Section5</td> <td>Section6</td> <td>Section7</td> <td>Section8/td> </tr> <tr> <td>Section9</td> <td>Section10</td> <td>Section11</td> <td>Section12</td> </tr> </table> 3 Rows & 4 Columns • Go to your web page • Copy the code • Save your page • Replace the Section# with your HTML • View your page Menu

  13. 3 Rows & 3 Columns <br> <table width="400" border="1"> <tr> <td>Section1</td> <td>Section2</td> <td>Section3</td> </tr> <tr> <td>Section4</td> <td>Section5</td> <td>Section6</td> </tr> <tr> <td>Section7</td> <td>Section8</td> <td>Section9</td> </tr> </table> • Go to your web page • Copy the code • Save your page • Replace the Section# with your HTML • View your page Menu

  14. 2 Rows & 4 Columns <br> <table width="400" border="1"> <tr> <td>Section1</td> <td>Section2</td> <td>Section3</td> <td>Section4</td> </tr> <tr> <td>Section5</td> <td>Section6</td> <td>Section7</td> <td>Section8</td> </tr> </table> • Go to your web page • Copy the code • Save your page • Replace the Section# with your HTML • View your page Menu

  15. Adding Text in a Table • All features go inside the <td> tags • Adding normal text would look like this: <td>This is my website about Cocker Spaniels and our own dog called Alfie</td> • Adding paragraph text would look like this: <td><p>This is my website about Cocker Spaniels and our own dog called Alfie</p></td> Menu

  16. Adding a Title in a Table • All features go inside the <td> tags • Adding a title would look like this: <td><h1>Welcome to my Website</h1></td> Menu

  17. Adding Hyperlinks in a Table • All features go inside the <td> tags • Adding a hyperlink would look like this: <td><a href=http://www.bbc.co.uk>Link to BBC </a></td> Menu

  18. Adding an Image in a Table • All features go inside the <td> tags • Adding an image would look like this: <td><imgsrc ="alfie.jpg"width =200 height=400 ></td> I have added in width and height to resize the image! Menu

  19. Adding a YouTube video in a Table • All features go inside the <td> tags • You need to copy the embed code from YouTube into your tag • You then need to add in http at the front • Adding a YouTube video would look like this: <td><iframe width=“560” height=“315” src=http://www.youtube.com/embed/thry4562dd2frameborder=“0” allowfullscreen<iframe></td> Menu

More Related