Showing posts with label Formatting. Show all posts
Showing posts with label Formatting. Show all posts

Tuesday, May 17, 2011

Tip of the Day

Why to avoid the "basefont" element for formatting?

That is one of those tags that is deprecated and only supported in Internet Explorer. Yes, I know that many people use IE today, but you shouldn't use the "basefont" tag to style your webpages.

CSS has many more advantages. CSS can do the job for your formatting. Like I said in my first Tip of the Day, you shouldn't be using the "font" element.

A useful tip.

Saturday, April 23, 2011

Tip of the Day

Oh, yes, I'd like to announce the first "Tip of the Day". Every day, I'll post a new tip on something for developers that can be helpful.

Don't format with the <font> tag.

Many people use the font tag. It is a popular HTML tag and is easier than CSS, but it will be removed in the future from HTML (yes, and the latest browsers most likely won't support it anymore) and is not recommended by W3C. And we want our websites to be "cleanly coded", no? So if you want to style, don't forget that there is CSS out there. Like I said in an earlier blog post, CSS3 overpowers the non-standard "marquee" element.

So, I'm just telling you. No, I'm not making this up. W3Schools, the biggest developer site, says so. All styling will be done with CSS.