(014) Embedded external content of XHTML documents

Source: Internet
Author: User
Embedded external content of XHTML documents

Most of the content on the page is part of the XHTML document. However, there are often times when you need to embed external content such as images, Java applets, Flash animations, or QuickTime videos. These files must be saved separately from the document, but they can be referenced in XHTML markup code so that the browser displays them on the Web page.

One, object element

Inline element Object embeds an external file or some type of media in an XHTML document. Many object data formats are not handled by web browsers and need to be rendered using plug-in applications. You can use object to add images to a page, but using inline element img is more common.

Second, param elements

The param element is nested within the object element to define the parameters of the objects and to pass additional information to the object for use. It is an empty element, so it should be closed with a trailing slash (/>). An object element can nest multiple param elements.

(014) Embedded external content of XHTML documents

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.