Jump to content

XHTML - transitional / strict


astralaaron

Recommended Posts

Some Transitional tags and attributes that don't exist in Strict:<center><font><div align="left" width="50" height="100">dir="ltr"There are more I can't think of now.

Link to comment
Share on other sites

Some Transitional tags and attributes that don't exist in Strict:<center><font><div align="left" width="50" height="100">dir="ltr"There are more I can't think of now.
wait, are you saying that <div>'s do not exist in strict? alsoalign="left" it was to my understanding that in xhtml align is default to left so that will show up as an error, right?EDIT * I realize you are showing me those attributes do not exist in strict.what is dir="ltr"
Link to comment
Share on other sites

dir="ltr" is an attribute that can be given to almost any tag, but I have a feeling it actually is valid in XHTML Strict, I never tested.It's the same as the CSS text-direction property, which can be ltr(left to right) or rtl(right to left)<div dir="rtl">Hello</div> would return

olleH

Link to comment
Share on other sites

wait, are you saying that <div>'s do not exist in strict?
They exist, Ingolme was saying that the align, width and height attributes don't.
Link to comment
Share on other sites

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...