Insert graphics
Hypertext is very popular in a short period of time, it is important to support multimedia characteristics, such as image, sound, animation, etc. In this part, let's learn how to insert an image in a page.
Basic format
The image format of hypertext support is usually three kinds of X bitmap (XBM), GIF, JPEG, so we have to save any one in these three formats after processing, so you can see it in your browser. The label inserted into the image is , its format is:
The SRC property indicates the image file address to be linked. This graphic file can be a graphic on the local machine, or a graphic located on the remote host. The representation method of the address can be represented by the URL address representation along the previous content "link".
Example:
The IMG has two attributes to Height and Width, which represent the high and wide graphics. Through these two properties, you can change the size of the graph, if not set, the graph is displayed by the original:
example:
Graphics and text alignment:
The Align property is set by the Align property in the IMG, which is the following:
Align = TOP Beautiful heart beautiful heart align = middle Beautiful soul beautiful heart align = budtom Beautiful heart beautiful heart align = texttop Beautiful heart beautiful heart align = Baseline Beautiful soul beautiful heart align = left Beautiful soul, has a few unclear love, like the stars in the sky, bright crystal. Beautiful soul, has a few unclear love, like the stars in the sky, bright crystal. Align = Right Beautiful soul, has a few unclear love, the stars in the sky, bright crystal. Beautiful soul, has a few unclear love, like the stars in the sky, bright crystal.
Distance setting between the graphic:
The configuration of the graphic level in the HTML file can be completed by the HSpace property, the configuration of its vertical position is completed by vSpace.
Graphic Button: The graphic button is that the user can connect to an address by clicking on the graph. Very simple, we can complete it as long as we call the previous knowledge. The basic format is as follows:
example: