|
homepage.html or links.html or whatever you would like it to be. But, the file extention should be .html, because this is a HTML page...;-) Then click "Make File". <!doctype html public "-//w3c//dtd html 4.0 transitional//en"> < html> < head> < title> Your Title </title> </head> < body bgcolor="#FFFFFF"text="#000000"link="#0000cc"vlink="#cc0000"alink="#FFffFF"> </body> </html> The colors there are Hex colors, but you may use "text" colors. Such as "red" "blue" "black" etc. You can scroll down and click on the "Preview" button to look at your page. Hit your back button to return to editing your page. You can also hit "Save & Continue" button to save what you have done, then go on and add more to your page, if you like. When you have completed your page, and are happy with it..Hit the "Save" button. You will now see your "New HTML" file in your Directory. You can always "Edit your page by clicking on "Edit" off to the right of the file. Remember to "Save" after editing and making your changes. | ||
| Using Base Href | ||
|
Without getting too technical: Basically, using the Base Href will allow you to use relative url's, instead of full url's, within your page. It can save time in typing, and shorten your page, also.
NOTE: If you do not use the Base Href in the Header. You will not be able to view Relative URL's while in Preview. Examples: < base href="http://username.com/"> For Domain users. Or < base href="http://username.zboxhosting.com/"> For Subdomain users. So the beginning of your page would look like this. <!doctype html public "-//w3c//dtd html 4.0 transitional//en"> < html> < head> < title> Your Title </title> < base href="http://username.zboxhosting.com/"> </head> < body bgcolor="#FFFFFF"text="#000000"link="#0000cc"vlink="#cc0000"alink="#FFffFF"> So what is a Relative URL Simply put, it is a shorter version of your Full URL. Ok, so now you are ready to add an image. Here is how you would add the Relative Image URL Example: < img src="images/cat.gif"> aka: directory/image.gif Or say you have an image, in a sub-directory. It would be like so: < img src="images/animals/cat.gif"> aka: directory/subdirectory/image.gif You will be able to see the images using the Relative URL's in Preview, while in your editing page. | ||
|