Alaska under the moon in the starry night
Statue of Liberty in Liberty Island in New York Harbor
USA stars Eye in the sky

Main (Home) page. USA 2017 "Lesson 09." - Tables, part 1.


Somebody think about future. We make future today. USA2017.INUMO.RU. Peace, freedom, happiness for everyone in USA and everywhere on the Earth in 2017.

USA2017 :: "Lesson 09." - Tables, part 1.

I searched all day along and finally found out all I need on USA2017.
/From the "Feedback collection on USA2017.INUMO.RU", USA2017.INUMO.RU./

HTML tutorial on USA 2017 Tables, part 1. Lesson 09. Long time ago the tables were main elements of a webpage. Webmasters make design of a webpage using many tables, nested one inside another. It was like nightmare to get logic of the plurality of tables. HTML code of these sites was very difficult to read and understand not only by programmers, but also by browsers. Now the situation has changed dramatically. Tables play an important role. But we use tables only for things they are designed, for presenting tabular data.
First publication rights USA 2017 com



Tables, part 1. Lesson 09.

Long time ago (somewhere before year of 2005) the tables were main elements of a webpage. Webmasters make design of a webpage using many tables, nested one inside another. It was like nightmare to get logic of the plurality of tables. HTML code of these sites was very difficult to read and understand not only by programmers, but also by browsers.

Now the situation has changed dramatically. Tables play an important role. But we use tables only for things they are designed, for presenting tabular data.

Imagine following situation. Our boss set a task for us. Our artist has depicted this task in a picture format (image file) to ease understanding of the problem.
Task in a picture format (image file food_prices.png).
Task in a picture format (image file food_prices.png)

And now we have to create the same table by means of HTML and set it on our test page.

We can make this work step-by-step this way:
  1. Create tag <table> - All tables are defined with this tag. For tag <table> we use the border attribute border="1" to make the borders with 1 pixel thickness. If we do not specify a border for the table, it will be displayed without borders.
  2. Create tag <caption> - We need this tag to show a caption of a table. The <caption> tag must be inserted immediately after the <table> tag.
  3. Create tag <tr> (row) for <th> (table headings) - in our case for table heading <th> "Fats, Proteins, Carbohydrates" we use attribute colspan="3" to make a cell span 3 columns.
  4. Create 4 tags <tr> (row) for <td> cells with information - in our case for the penultimate row we use the attribute rowspan="2" to make a cell span 2 rows.
  5. Create tag </table> - this tag let a browser know where end of the table is.

Food prices in US cities
DateTimeFoodCityFats, Proteins, CarbohydratesMoney $
Sep 30, 193519:00KefirNew York0421.54
Oct 12, 193520:00MeatChicago3645.25
Oct 24, 193522:00CarrotCleveland1272.14
23:00PotatoesLos Angeles0282.99
Task in a HTML format (after making steps above)


We have got something about our boss needs... Does he accept our work? What is the question!

So we have placed mentioned above things on our test webpage:
article_009.html ← click to view, how it looks on this website...
article_009.zip ← download this webpage in zip archive to set on your website.

To visit more lessons use navigation bar below ↓,


More Info about "HTML and Internet basics" → ↓

"1&1" - one of the largest web hosts in the world.

Register with one of the largest web hosts in the world.

Our broad product portfolio of domains, website packages, web hosting packages and high-end server solutions gives you plenty of choice.

Click Here → ↓


Happy new searching to you!

What to do and where to go?

If you plan to come back later...
Please remember this page -
URL: https://usa2017.inumo.ru/html/p009.html
Basket is empty

Love Me Do portal. Miss USA 2017.
"Love Me Do"

Keep pornography out & protect your family. Content watch :: Stop Internet Porno. Free computer scan.
Content watch :: Stop Internet Porno.

Adobe Macromedia.
Adobe Macromedia.

"Love Me Do" portal on USA 2017.
"Love Me Do" portal on USA 2017.

Hosting Observer.
Hosting Observer.

Music portal on USA2017.INUMO.RU
Music portal on USA2017.INUMO.RU

USA2017.INUMO.RU Attention! Thank you for visit! I wish you great success in present and future!
Pleeeeeeease, don't forget to vote for me in 2017! Thanks for your support.
© CopyRight(R), CopyLeft(L), CopyCat(C) 2017, President of USA. USA2017.INUMO.RU.
We make future today. Join us now! Peace, freedom, happiness, for everyone in USA and everywhere on the Earth in 2017.
Our very special thanks for support to: Team of the hosting company.
News from USA 2017. Sign up!
Close and hide in basket
Account Now. Free direct deposit. Visa card. 100% Approval. $25 Bonus when you set up direct deposit. Sign Up in 60 seconds.
Close and hide in basket
Butlers Bubbly Game. Snow and skiing - the perfect holiday! Until Billy the Butler gets a thirst for your bubbly! Stop Billy before he polishes off ALL the champagne 'Moet et chandon' and stand in line to win incredible prizes!
Close and hide in basket
eToro. While markets plummet... You profit.