This A List Apart article discusses, a correct way of embedding Flash content in HTML, while following W3C standards.

If you need valid HTML content, that passes http://validator.w3.org/, you must use <object> tag, instead of <embed> tag.

Link: http://alistapart.com/article/flashsatay/