Hypertext markup for enhanced HTML page functionality

Source: Internet
Author: User
Tags html page

In recent years, hypertext Identification Language (HTML) has been rapidly expanded. To meet more needs, it adds a number of extension features. New and appealing web pages are increasingly reliant on Java applets (applets), inline scripts, frames, Plug-ins, and other extended HTML features. These extended HTML features not only allow for further formatting of the text, and you can embed programs, animations, and other interactive operating elements, transforming once static home pages into a new, fantastic picture, which allows the home page author to give full play to his imagination and design a glamorous homepage. Here's a few more hypertext tags for enhancing HTML page functionality, which are increasingly being used in web design.

1.〈script〉 Mark

〈script〉 is an HTML tag that is used to flag JavaScript and VBScript programming, and it has the following format:

〈script Property = property value 〉javascript or VBScript program source code 〈/script〉

You can insert any number of 〈script〉......〈/script〉 tag blocks on the page. The 〈script〉 tag has several properties (such as event, for, language, SRC, and so on), the most common of which is the Language property, which specifies the language type of the script, such as "JavaScript" or "VBScript."

2.〈applet〉 Mark

The 〈applet〉 tag is a private tag used to insert a Java applet into a page, and it has several properties. The General property format for the 〈applet〉 tag is as follows:

〈applet Property = property value 〉〈/applet〉

Its various properties are used to define the path of the Java applet, the filename, the location, size, and running parameters of the Java applets widget in the page.

3.〈object〉 Mark

The 〈object〉 tag can be used not only to insert an ActiveX control in a page, but also to insert other OLE objects, such as images, documents, animations, applet, and so on, in the form of:

〈object Property = property value 〉〈/object〉

Its various properties are used to set the type of the inserted object, the path, the size of the display in the page, position, and so on.

4.〈param〉 Mark

After you insert an ActiveX control or other object in a page with a 〈object〉 tag, you sometimes need to pass parameters to the object or control, using the 〈param〉 tag. The tag does not have a corresponding ending flag 〈/param〉, and the tag is valid only in the 〈object〉 tag, and its general format is:

〈param name=*value=*valuetype=*type=*〉

The meaning of each property is that name is the parameter's first, value specifies the values of the parameter, valuetype specifies how to represent the value of the parameter; type specifies the media type.

5.〈embed〉 Mark

This tag can be used to embed multimedia files in the home page, such as movies (movie), sounds, Virtual reality language (VRML), and so on, but you need to install a plugin that plays the appropriate multimedia files in the browser. The 〈embed〉 tag behaves differently in each plug-in, and its general format is: 〈embed src=″url″〉.

6.〈bgsound〉 Mark

This tag is used to insert a background music in the page in the form of:

〈bgsound src=″url″loop=″*″〉

Where SRC is used to specify the address of WAV files, loop set loop playback times

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.