In recent years, hypertext mark language (HTML) has been rapidly expanded. To meet more needs, it adds many extension functions. The newly designed and attractive web pages are increasingly dependent on java applets, embedded scripts, text boxes, plug-ins, and their
It extends the HTML function. These extended HTML functions can not only further format the text, but also embed programs, animations, and other interactive operation elements, and convert the former static homepage into a wonderful new screen, it can make full use of its imagination as a homepage maker to design a home page full of charm. Below I will introduce several hypertext tags used to enhance the HTML page function. These tags are increasingly used in Webpage Design.
1. Mark the script
<Script> is an HTML tag used to mark javascript and vbscript programming. Its format is as follows:
<Script Attribute = attribute value> source code of javascript or vbscript program </script> 〉
You can insert any number of script blocks in the page. The <script> tag has multiple attributes (such as event, for, language, and src). The most common attribute is the language attribute, which is used to specify the language type of the script, for example, javascript or vbscript ".
2. <applet> MARK
<Applet> A tag is a special tag used to insert a java applet into a page. It has multiple attributes. The general attribute format of the <applet> tag is as follows:
<Applet property = property value> </applet> 〉
Its various attributes are used to define the path, file name, location, size, and running parameters of the java applet in the page.
3. Mark the object
The <object> tag can be used not only to insert activex controls into pages, but also to insert other ole objects, such as, documents, animations, and applets. The format of the tag is as follows:
<Object property = attribute value> </object> 〉
Its Attributes are used to set the type, path, size, and position of the inserted object on the page.
4. Mark <param>
After an activex control or other object is inserted in the page with the object mark, sometimes you need to pass parameters to the object or control, which requires the use of the param mark. This tag does not have an ending sign </param>, and it is valid only in the <object> tag. Its general format is:
<Param name = * value = * valuetype = * type = *> *〉
The meaning of each attribute is: name is the parameter name; value specifies the parameter value; valuetype specifies how the parameter value is represented; type specifies the media type.
5. <embed> MARK
This tag can be used to embed multimedia files on the home page, such as movies, sounds, and virtual reality language (FIG, however, you need to install the plug-in to play the corresponding multimedia files in the browser. The <embed> tag varies in various plug-ins. Its general format is: <embed src = "url"> ″〉.
6. bgsound mark
This tag is used to insert background music into the page. Its format is:
<Bgsound src = "url" loop = "*"> ″*″〉
Src is used to specify the address of the wav file, and loop is used to set the number of loop playback times.