Tags inside <head>

JavaScript and client side scripting.

Moderator: General Moderators

Post Reply
User avatar
phice
Moderator
Posts: 1416
Joined: Sat Apr 20, 2002 3:14 pm
Location: Dallas, TX
Contact:

Tags inside <head>

Post by phice »

I saw the source a webpage, and they had a <basefont> tag inside the <head> tags. I've never seen this anywhere else. :/

I was wondering if anyone had any more information on this? Any could post a link to where I could find out any more information?

---[ Searching google...

Ok, while finding the BaseFont tag, I tried it, along with a few tables inside of it. It fully changed the face for any text, but inside the tables, the font size stayed the same. Al though, the size outside of the table changed. Any ideas? :/ (I'm using IE 6.0)
Image Image
User avatar
hob_goblin
Forum Regular
Posts: 978
Joined: Sun Apr 28, 2002 9:53 pm
Contact:

Post by hob_goblin »

basefont is a little trick i found along time ago before i dared enter css

you can use basefont just like any font tag, and it will work with the whole body, maybe it doesn't work for block level elements?

it's far from being valid, so don't use it.

http://www.htmlcodetutorial.com/_BASEFONT.html
User avatar
twigletmac
Her Royal Site Adminness
Posts: 5371
Joined: Tue Apr 23, 2002 2:21 am
Location: Essex, UK

Re: Tags inside <head>

Post by twigletmac »

phice wrote:Any ideas?
The BASEFONT tag has been deprecated since HTML 4 so don't use it like hobgoblin said. Use CSS instead.

Mac
Post Reply