The Flash program can add these attributes for you:
Choose File > Publish. Flash will now create the <object>, <param>, and <embed> tags for you. It will also create the classid and pluginspage attributes.
Open the HTML document that Flash created, view the HTML source and copy the code into your HTML page where you want your Flash movie.
Be sure that you have the "somefilename.swf" in your Web folder.
Type in the address of the HTML file in your browser and look at your first Flash movie.