Where are the <base> and <link> tags generated from?
-
stopsatgreen
- Power Poster

- Posts: 322
- Joined: Sat Feb 04, 2006 1:24 am
Where are the <base> and <link> tags generated from?
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?
-
Pierre M.
Re: Where are the <base> and <link> tags generated from?
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
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
-
stopsatgreen
- Power Poster

- Posts: 322
- Joined: Sat Feb 04, 2006 1:24 am
Re: Where are the <base> and <link> tags generated from?
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.
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?
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...
" 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...
-
Pierre M.
Re: Where are the <base> and <link> tags generated from?
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
My little advice didn't intent to hurt you. I'm sorry.
PM

