In converting my pages to 4.01 Strict, I've been removing ALIGN
attributes everywhere. I was surprised to notice that a page that
validated contained a <td align=left>.
Sure enough, when I checked at http://www.w3.org/TR/html401/index/attributes.html
I found that while ALIGN is deprecated as an attribute for TABLE, it
is still a full-fledged pukka attribute for subelements of TABLE:
TBODY THEAD, TD, TH, etc.
Anyone know why? Was this a political decision, out of concerns that
too many people use the ALIGN attribute on those tags? Or is there
some technical reason why ALIGN was deprecated on most tags but not
all?
--
Stan Brown, Oak Road Systems, Cortland County, New York, USA http://OakRoadSystems.com/
HTML 4.01 spec: http://www.w3.org/TR/html401/
validator: http://validator.w3.org/
CSS 2 spec: http://www.w3.org/TR/REC-CSS2/
validator: http://jigsaw.w3.org/css-validator/ 4 5477
Stan Brown <th************@fastmail.fm> wrote: In converting my pages to 4.01 Strict, I've been removing ALIGN attributes everywhere. I was surprised to notice that a page that validated contained a <td align=left>.
Sure enough, when I checked at http://www.w3.org/TR/html401/index/attributes.html I found that while ALIGN is deprecated as an attribute for TABLE, it is still a full-fledged pukka attribute for subelements of TABLE: TBODY THEAD, TD, TH, etc.
Anyone know why? Was this a political decision, out of concerns that too many people use the ALIGN attribute on those tags? Or is there some technical reason why ALIGN was deprecated on most tags but not all?
Practically all presentational table attributes were left in place
(width, cellpadding, cellspacing, border etc.), a cop out imo.
Headless
--
Email and usenet filter list: http://www.headless.dna.ie/usenet.htm
Stan Brown wrote: In converting my pages to 4.01 Strict, I've been removing ALIGN attributes everywhere. I was surprised to notice that a page that validated contained a <td align=left>.
Sure enough, when I checked at http://www.w3.org/TR/html401/index/attributes.html I found that while ALIGN is deprecated as an attribute for TABLE, it is still a full-fledged pukka attribute for subelements of TABLE: TBODY THEAD, TD, TH, etc.
Anyone know why? Was this a political decision, out of concerns that too many people use the ALIGN attribute on those tags? Or is there some technical reason why ALIGN was deprecated on most tags but not all?
Because you do something like the following:
<td align="char" char=".">
That will align everything around the period character. Maybe "align"
was the wrong thing to name it because it suggests presentation, but it
is (theoretically, of course) an aide. Maybe something like
axis-char="." would have been more structural.
In article <fB*************@fe01.atl2.webusenet.com> in
comp.infosystems. www.authoring.html, Keith Bowes <do****@spam.me>
wrote: Because you do something like the following: <td align="char" char=".">
That will align everything around the period character. Maybe "align" was the wrong thing to name it because it suggests presentation, but it is (theoretically, of course) an aide. Maybe something like axis-char="." would have been more structural.
I'm afraid I don't understand the point you're making. CSS lets you
align on a particular character, so that _could_ have been
deprecated in HTML4, but it wasn't. That's what I was asking: why
not?
--
Stan Brown, Oak Road Systems, Cortland County, New York, USA http://OakRoadSystems.com/
HTML 4.01 spec: http://www.w3.org/TR/html401/
validator: http://validator.w3.org/
CSS 2 spec: http://www.w3.org/TR/REC-CSS2/
validator: http://jigsaw.w3.org/css-validator/
Stan Brown wrote: In article <fB*************@fe01.atl2.webusenet.com> in comp.infosystems.www.authoring.html, Keith Bowes <do****@spam.me> wrote:
Because you do something like the following: <td align="char" char=".">
That will align everything around the period character. Maybe "align" was the wrong thing to name it because it suggests presentation, but it is (theoretically, of course) an aide. Maybe something like axis-char="." would have been more structural.
I'm afraid I don't understand the point you're making. CSS lets you align on a particular character, so that _could_ have been deprecated in HTML4, but it wasn't. That's what I was asking: why not?
Hmm. I thought that was the reason some W3C person gave me once: that
when HTML 4.0 came out in 1997, the CSS2 spec was still a working draft
and so the presentational attributes for tables were kept, but I guess
I'm mistaken. So, I guess the only possible reason left is: because the
W3C used tables for their home page's layout. :) This thread has been closed and replies have been disabled. Please start a new discussion. Similar topics
by: aragon |
last post by:
Hi all,
is it legal to use a fully-numeric string as "name" attribute for the
<select> tag in the XHTML standard?
E.g.:
<form action="action.php" method="get">
<select name="12345">
<option...
|
by: Viken Karaguesian |
last post by:
Hello,
Just wondering what the difference is between "float" and "align"? If I
align a picture to the left, is that not the same as floating it? Can align
and float be used together or do you...
|
by: Ben Amada |
last post by:
Hello,
When centering a block of HTML, in the past, I've always used:
<div align="center"> ... </div>
However, in VS 2005, I get the following warning:
"Validation (XHTML 1.0...
|
by: Mark Rae |
last post by:
Hi,
I've been asked to "update" an existing fairly simple website to make it
XHTML-compliant i.e.
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"...
|
by: Jasbird |
last post by:
Has the name attribute deprecated?
I ask this because ASP.NET 2 warns me against using it, says that it has
been deprecated and doesn't use it (on the client) when creating a radio
button list....
|
by: Icarus - iD_Ten_T helper |
last post by:
I am currently teaching myself PHP, JS, HTML and CSS.
I would say I am a beginner to interemediate at varying levels within
all 4, however I have some queries and I wonder if any of you can...
|
by: rafeig77 |
last post by:
I want help
How I can align rectangles differ in its tow dimensions inside big rectangle with lesser waste in area ?
for mor information
align.rar - 1.8 Kb
or:
copy this code to text file...
|
by: Roderik |
last post by:
Hi,
I am wondering why (half of the) squared images are not aligned on the
right of the text in Internet Explorer (using <img ... align="right" />.
I thought this was supported even in IE. In FF...
|
by: AmberJain |
last post by:
Hello,
I know a bit of HTML and CSS. I'm designing my personal website. I want to put an image on one of my pages such that it has 'border' around it and it should be right aligned. And I want my...
|
by: Charles Arthur |
last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
|
by: emmanuelkatto |
last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud.
Please let me know.
Thanks!
Emmanuel
|
by: nemocccc |
last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
|
by: Hystou |
last post by:
There are some requirements for setting up RAID:
1. The motherboard and BIOS support RAID configuration.
2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
|
by: marktang |
last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
|
by: Hystou |
last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
|
by: Oralloy |
last post by:
Hello folks,
I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>".
The problem is that using the GNU compilers,...
|
by: jinu1996 |
last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...
|
by: isladogs |
last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM).
In this session, we are pleased to welcome a new...
| |