Reply to Re: what would be the equivalent line in HTML

Your name:

Reply:


Posted by cwdjrxyz on 02/04/06 07:40

John Salerno wrote:
> Dylan Parry wrote:
> > Pondering the eternal question of "Hobnobs or Rich Tea?", John Salerno
> > finally proclaimed:
> >
> >> If I create an HTML file instead, what should I put in the html tag
> >> instead?
> >
> > From the XHTML version, you get:
> >
> > <html lang="en">
> >
> > That's all there is to is. It is also important to make sure that you
> > get the correct language code in there. "en" refers to British English,
> > so if you are using American English it should be "en-us" (with similar
> > alterations for Canadian "en-ca" and Australian "en-au" English).
> >
>
> Thanks guys, seems simple enough! But should there be anything
> additional in the html tag? Or is that other stuff just XHTML extras?

In fact "that other stuff" may be a validation error in one or all of
the 3 html 4.01 flavors. Always use the correct Doctype and take your
code to the W3C html validator. It is especially fussy about the
Doctype and html/xhtml tags, and it usually will tell you if there is
an error in them. One error that surprises some people the first time
it happens is that, unlike most html(not xhtml) tags, the Doctype tag
is case sensitive. That is one reason why it is nice to store your
Doctypes somewhere so that you only have to copy and paste them to
avoid typos.

[Back to original 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

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