Friday, December 21, 2018


Organizing Data with
Tables using HTML AND CSS



 HTML tables were created to provide a straightforward way to mark up structured tabular data and to display that data in a form that is easy for users to read and digest.

When HTML was being developed, however, CSS was not widely supported in browsers, so tables were the primary means by which websites were built. They were used for positioning content as well as for building the overall layout of a page. This worked at the time, but it was not what table markup was intended for, and it led to many other associated problems.

Fortunately, we have come a long way since then. Today tables are used specifically for organizing data (like they should be), and CSS is free to get on with the jobs of positioning and layout.

Building data tables still has its challenges. How a table should be built in HTML depends largely on the data and how it is to be displayed. Then, once they’re marked up in HTML, tables need to be styled with CSS to make the information more legible and understandable to users.



 STEPS:



1. OPEN the notepad.

2. Inside the <section> element,

type the code:
<h2> 10 Places in Manila for all the Matcha
Lovers out there!<h2>

3. Then type the code for the data of the table.

4. To add border to the table:
change <table> to
<table=border"1"> 

                              -it will let border visble



HTML CODE:


<table> 
<tr> 
<th>Cafe Name</th> 
<th>Location</th> 
</tr> 
<tr> 
<td>Ikigai Kakigori Cafe</td> 
<td>Ikigai Kakigori Café is at POS Building, Scout Mandriñan corner Tomas Morato Avenue, South Triangle, Quezon City.</td>
</tr> 
<tr> 
<td>Nomi Matcha</td> 
<td>Nomi Matcha is at G/F W City Center, 30th Street corner 7th Avenue, Bonifacio Global City.</td>
</tr>
<tr>
<td>The Dessert Kitchen</td>
<td>The Dessert Kitchen is at 3/F Power Plant Mall, Rockwell, Makati City, G/F Robinsons Place Ermita, Ermita, Manila, and G/F UP Town Center, Katipunan, Quezon City.</td>
</tr> 
<tr>
<td>Scout's Honor</td>
<td>Scout’s Honor is at Hole in the Wall, 4/F Century City Mall, Makati City; and G/F Ayala Malls Vertis North, Quezon City.</td>
</tr> 
<tr>
<td>Kiss The Tiramisu</td>
<td>Kiss The Tiramisu is at Three Central, Valero Street, Makati City.</td>
</tr> 
<tr>
<td>Zaan Japanese Tea House</td>
<td>Zaan Japanese Tea House is at G/F Norfil Foundation Building, 16 Mother Ignacia Avenue corner Don A. Roces Avenue, Quezon City.
</td>
</tr> 
<tr>
<td>Saint Marc Café</td>
<td>Saint Marc Café is at G/F, SM Mega Fashion Hall, SM Megamall EDSA
Manila, Philippines</td>
</tr> 
<tr>
<td>Le Petit Soufflé</td>
<td> Le Petit Soufflé is at 2nd Floor, Mega Fashion Hall, SM Megamall, Ortigas, Mandaluyong City</td>
</tr> 
<tr>
<td>UCC Clockwork</td>
<td> UCC Clockwall is at Bluebay Walk, EDSA Corner Diosdado Macapagal Boulevard
Manila, Philippines 1604</td>
</tr> 
<tr>
<td>Tsujiri</td>
<td>Tsujiri is at SM Aura, Manila Philippines.</td>
</tr> 
</table>




 OUTPUT:









48 comments:

  1. Not a fan of matcha but wow!
    Help me out also HAHAHAA

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

    ReplyDelete
  3. Bring back the bond not the memories

    ReplyDelete
  4. THANKS FOR THE TIP! ILL KEEP IT IN MIND!

    ReplyDelete
  5. Nice blog! Eventhough i'm not a fan of matcha, you have a great style on convincing me to be one!

    ReplyDelete
  6. You have a great sense of humor and i really liked your creativity . Nice blog mika! 😊

    ReplyDelete
  7. It's great to learn something about matcha.... Thinking that I want to taste it ;D

    ReplyDelete
  8. NUTRITION EXPERTS SAY: "THE FOOD YOU EAT CAN HELP YOU FEEL BETTER". That is why I love MATCHA. People all loved matcha.

    ReplyDelete
  9. Now i wanna eat matcha because of this!!!

    ReplyDelete
  10. Thanks for the tip. Ill be sure to visit one.

    ReplyDelete
  11. Wow!Next time I got to Manila,I know where to eat Matcha

    ReplyDelete
  12. matcha is life, two thumbs up for these Mik

    ReplyDelete
  13. Wow, ill make sure i will visit one of these places

    ReplyDelete
  14. It makes me want to have some....

    ReplyDelete
  15. Tbh I'm not a fan of matcha but i really love the green color😂

    ReplyDelete
  16. I'm not a matcha lover, but I know someone who loves matcha! I'll be informing that someone to visit these following matcha's store 😉

    ReplyDelete
  17. Nota matcha lover but it looks great. Great Job

    ReplyDelete
  18. I will surely visit some of these places and try their matchas!

    ReplyDelete

Organizing Data with Tables using HTML AND CSS   HTML tables were created to provide a straightforward way to mark up struc...