HTML-Advisor
Mostly practical advices

Category ‘XHTML’ Archive

XHTML compatible markup for embeding FLASH and Video

Tuesday, July 11th, 2006

It has always gotten my goat that Internet Explorer’s non-standard use of the object tag has forced standards-loving browsers to use the non-standard embed tag in order to embed movies on a web page. Even on Apple’s site, the embed tag - a Netscape extension, for Pete’s sake! - is so entrenched that it’s hard [...]

Semantics, HTML, XHTML, and Structure

Monday, June 19th, 2006

Introduction
Good HTML structure is based on logic, order, and using semantically correct markup. If you have a heading use the heading element, beginning with the H1 element. If you have a paragraph, use a paragraph element. If you have a list, use a list item element. If you’re quoting a few lines, use a blockquote [...]

The title and alt attributes

Sunday, June 4th, 2006

When browser vendors bend the standards and implement something in a different way than what the specification states, they may cause problems, or at least confusion. One example of this is the way certain browsers, the most widely used being Internet Explorer for Windows, handle alt attributes (popularly and incorrectly referred to as “alt tags”).
Alternate [...]

HTML vs XHTML?

Sunday, June 4th, 2006

It seems like the eternal question amongst web developers: HTML or XHTML? Wherever I look there seems to be posts in forums raising the question, web developers asking me or other people write blog posts about what they believe is the right way to go. I’m not writing this post to tell you what the [...]

Page 2 of 2«12