Lets look at the properties of this image. The HTML must direct the browser to display an existing image.
The image HTML is as follows:
<img border="0"
src="canaryislands.gif" alt="Sample
picture"
align="left" hspace="10"
vspace="5" width="145" height="104"
>
Notice the image and text alignment (left attribute). Image is algned to the left of the text. The text will also wrap around the bottom of the image as this text is doing.
TAG | ATTRIBUTES | DESCRIPTION |
<img> |
src="canaryislands.gif" | Image name (URL) |
alt="Sample picture" | Text the browser will display | |
align="left" | Shows how image is aligned (left, right, top, bottom, middle, center) | |
hspace="10" vspace="5" | hspace Specifies
amount of space in pixels to the left and right of the picture vspace Specifies amount of space in pixels above and below the picture |
|
width="145" height="104" | Tells the browser to create space for the graphic. This speeds up dowload times. |
Right click on the picture - Picture properties - Appearance tab
TAG | ATTRIBUTES | DESCRIPTION |
<BODY BACKGROUND= "imageURL"> </BODY> | BACKGROUND= "imageURL"> | <BODY BACKGROUND=
"imageURL"> </BODY> To set up a background image use the BACKGROUND attribue of the BODY tag. |
Horizontal Rules are another graphic element. They are easy to deal with as they do not have to be sourced. That means they do not need to be downloaded from another location into the web page. This is what the HTML had to get the browser to do in the case of the image above.
This is a Horizontal Rule(Line) coloured red.
The relevant HTML is as follows:
<hr size="4" noshade color="#FF0000" width="80%" align="left">
TAG | ATTRIBUTES | DESCRIPTION |
<HR> Horizontal Rule(Line) |
size="4" | Height of rule/line in pixels |
noshade | Removes the shadow from the line | |
color="#FF0000" | Specifies colour. Red in this case. | |
width="80%" | Specifies width in pixels or as a percentage of the page width. | |
align="left" | Shows how the horizontal line is aligned (left, right, center) |
Insert the rule using Insert menu.
Insert menu - Horizontal line
Right click on the line - Horizontal Line properties