You are here: Re: Table Height definition « HTML « IT news, forums, messages
Re: Table Height definition

Posted by Barbara de Zoete on 05/17/06 10:27

On Wed, 17 May 2006 06:25:14 +0200, Knut Krueger <knut-krueger@usa.com>
wrote:

> conclusion : Text only see above.

You might want to reconsider that conclusion:

Markup has a reason. When you use meaningful markup, you tell the browser
(or what ever it is that visits your documents) what a document is and
what the content of the document is. You tell the browser, for example:

,------------------------------------------------------------------------.
| message | code |
|==============================|=========================================|
| This is an HTML 4.01 Strict | <!DOCTYPE HTML PUBLIC "-//W3C//DTD |
| of document | HTML 4.01//EN" |
| - in standard compliance mode| "http://www.w3.org/TR/html4/strict.dtd">|
| - in English | <html lang="en">[...]</html> |
| The title of the document is | <title>Document Title</title> |
| The type of content is | <meta http-equiv="Content-Type" |
| | content="text/html; charset=utf-8"> |
| Find the styles at | <link rel="stylesheet" type="text/css" |
| | media="all" href="stylesheet.css"> |
| Start rendering the content | <body> [...] </body> |
| The pages heading, level 1 is| <h1>Pages Heading</h1> |
| These are paragraphs | <p>paragraphs</p> |
| These are other headings, | <h2>...</h2>, <h3>...</h3>, <h4>...</h4>|
| of other levels | |
| This is an unordered list | <ul> |
| | <li>item</li> |
| | <li>item</li> |
| | <li>item</li> |
| | </ul> |
| This is an ordered list | <ol> |
| | <li>item 1</li> |
| | <li>item 2</li> |
| | <li>item 3</li> |
| | </ol> |
| Here is some tabular data | See example code below (1) |
| This is a link | <a href="foo.html">foo</a> |
| This is an image | <img src="bar.png" alt="Description of |
| | bar" title="Isn't this fun"> |
| This is an inline quotation | <q>quotation</q> |
| This is a blocklevel one | <blockquote>Whole paragraph</blockquote>|
| And it's from him | <cite>Quoted party</cite> |
| This is a bit of code | <code>&lt;body></code> |
| This is an abbreviation | <abbr title="Hyper Text Markup |
| | Language">HTML</abbr> |
| This has strong emphasis | <strong>emphasis</strong> |
| This bit of inline text is | <span lang="nl">Nederlands</span> |
| in Dutch | |
`------------------------------'-----------------------------------------'
(1)
<table
summary="Two colums with side by side (1)
what message is conveyed to the browser,
(2) using what code">
<caption>caption value</caption>
<colgroup><col id="message"><col id="code"></colgroup>
<thead>
<tr>
<th>message</th><th>code</th>
</tr>
</thead>
<tbody>
<tr>
<td>HTML4.01 Strict</td><td><!DOCTYPE></td>
</tr>
<tr>
<td>Standard Compliance</td><td>URL to DTD</td>
</tr>
<tr>
<td>title</td><td><title>...</title></td>
</tr>
</tbody>
</table>

Anyway you get the message.

Using a table because of how it gets rendered in graphical browsers, is
just the same as using <blockquote> to get an indented block of text, or
<q> to get an italic word or phrase, or <h4> to get a block of text that
is a bit bolder and larger than other text bits. It has nothing to do with
markup. Your mind is fixed on how you think certain elements will look in
certain browsers.

Using proper markup, meaningful markup, has nothing what so ever to do
with 'text only'. Forget the looks of elements. You can override any look
into anything you want. Use proper markup first, meaningful markup. Then
style what you have, using CSS.


--
______PretLetters:
| weblog | http://www.pretletters.net/weblog/weblog.html |
| webontwerp | http://www.pretletters.net/html/webontwerp.html |
|zweefvliegen | http://www.pretletters.net/html/vliegen.html |

 

Navigation:

[Reply to this message]


Удаленная работа для программистов  •  Как заработать на Google AdSense  •  England, UK  •  статьи на английском  •  PHP MySQL CMS Apache Oscommerce  •  Online Business Knowledge Base  •  DVD MP3 AVI MP4 players codecs conversion help
Home  •  Search  •  Site Map  •  Set as Homepage  •  Add to Favourites

Copyright © 2005-2006 Powered by Custom PHP Programming

Сайт изготовлен в Студии Валентина Петручека
изготовление и поддержка веб-сайтов, разработка программного обеспечения, поисковая оптимизация