Page 1 of 1
Where are the <base> and <link> tags generated from?
Posted: Thu Nov 16, 2006 11:51 pm
by stopsatgreen
I'm making a site as HTML Strict, but it won't validate because the and tags are formatted as XHTML. Which file generates these, so I can change them?
Re: Where are the <base> and <link> tags generated from?
Posted: Fri Nov 17, 2006 4:59 pm
by Pierre M.
May be in the templates of your pages, or Site Admin/Global settings.
But I woulnd't do it your way. You should conform to nowadays W3C standards. It doesn't cost you anything to make a 2007 website rather than a 1997 one.
PM
Re: Where are the <base> and <link> tags generated from?
Posted: Fri Nov 17, 2006 5:19 pm
by stopsatgreen
Thanks for the tip, but I didn't need the snide remark.
HTML4.01
is a W3C standard. XHTML is fine in theory, but as it isn't supported by IE6* (and throws it into Quirks mode) and, as HTML5 looks to be on it's way to becoming reality, there is no need to ignore HTML4.01. If it's coded to meet the Strict DTD you can still use DOM scripting on it with no side effects.
http://www.456bereastreet.com/archive/2 ... _websites/
In a nutshell: as long as you code to the Strict DTD, HTML or XHTML is a personal choice.
So again, thanks for the help, but as a web developer of 6 years I don't need to be talked down to.
* The only way to make IE6 read XHTML is to remove the XML declaration at the beginning; that means the page is no longer XHTML.
Re: Where are the <base> and <link> tags generated from?
Posted: Fri Nov 17, 2006 6:58 pm
by Dr.CSS
In the default install it says "{metadata}
" this is where it comes from? but I don't see it there must be in a .php file in admin, which I've yet to find...
Re: Where are the <base> and <link> tags generated from?
Posted: Sat Nov 18, 2006 6:14 pm
by Pierre M.
There are more than 6 years of experience from 1997 to 2007
My little advice didn't intent to hurt you. I'm sorry.
PM