Cable Forum

Cable Forum (https://www.cableforum.uk/board/index.php)
-   General IT Discussion (https://www.cableforum.uk/board/forumdisplay.php?f=19)
-   -   HTML help (https://www.cableforum.uk/board/showthread.php?t=33672058)

deakin 18-11-2010 02:15

HTML help
 
This is my first try at using html and i'm stuck, could someone take a look at what i've done and correct any mistakes please ?

----------------

<HTML>
<HEAD>
<TITLE>file dump</TITLE>
</HEAD>
<BODY>
<h4>Filedump</h4>
<P>Please click on the links below to download the file</P>

link: <a href="http://XXX>YYY</a>
link: <a href="http://XXX>YYY</a>
link: <a href="http://XXX>YYY</a>
link: <a href="http://XXX>YYY</a>
link: <a href="http://XXX>YYY</a>

(XXX = file address. YYY = file name. i just can't seem to get seprate links working. how do i make them on different lines? they all merge into one that will not work)

If you have any problems then please feel to <a href="mailto:EMAIL ADDRESS?subject=filedump">Email me</a> Or you can also contact me via a PM message on href="http://www.FORUM ADDRESS HERE"><b>FORUM NAME HERE</b></a>
</BODY>

(Again i can't get the email me and pm links to work. i'm sure i've missed something really simple)

</HTML>
----------------------

Thanks for any help folks !!!

Milambar 18-11-2010 06:47

Re: HTML help
 
One error:
link: <a href="http://XXX>YYY</a>

should be
<a href="http://XXX">YYY</a>

You were missing a closing ".

Another error:
PM message on href="http://www.FORUM ADDRESS HERE"><b>FORUM NAME HERE</b></a>

You are missing the opening <a tag
<a href="http://www.forumaddresshere"><b>forum name here</b></a> is how it should be

I can't see anything wrong with the email link, but as you have unclosed links earlier in the document, the browser might think the whole document is one giant link. Try fixing the previous errors first, and seeing if the mailto then works.

I will comment that using a mailto link is asking for spam. It will be harvested by spambots. I hope you have good serverside spam filters.

admars 18-11-2010 08:30

Re: HTML help
 
<br> line break

http://www.w3schools.com/

should help you a lot

oliver1948uk 18-11-2010 09:33

Re: HTML help
 
At the begining of each link line put <p> and at the end </p>

<p>link: <a href="http://XXX">YYY</a></p>

Providing all the pages are all in the root directory of the same website, you do not need the http. For example, if a page is called video1.htm you could put:

<p>Link: <a href="video1.htm">VIDEO 1</a></p>

haydnwalker 18-11-2010 10:31

Re: HTML help
 
oliver1984uk - it is not required that <p> tags are used in HTML. This only makes text bunched into paragraphs. It does not affect the rendering of the page in any browser.

deakin: Just be aware, using CAPS for HTML tags is now depreciated and all tags should be listed in lower case (to be XHTML compatible)

Also - using relative links is much better than absolute links (examples below) as the server usually knows where a document is if its stored on that server, so saves much typing - when using absolute links, you must put in the http:// or whichever protocol you decide to use.

Code:

Absolute = <a href="http://www.mysite.com/images/pic1.jpg">Image 1</a>
Relative = <a href="/images/pic1.jpg">Image 1</a>

w3schools is the best place to learn HTML correctly.

Hope this helps :)

oliver1948uk 18-11-2010 14:24

Re: HTML help
 
The OP was saying he wanted the links on separate lines, not all on one.

I suggested using <p> tags because it would achieve that easily.

I also tried to explain briefly how to use relative links. Unfortunately, in a few lines, it is not possible to go into all aspects of html programming.

haydnwalker 18-11-2010 14:30

Re: HTML help
 
Quote:

Originally Posted by oliver1948uk (Post 35123999)
I also tried to explain briefly how to use relative links. Unfortunately, in a few lines, it is not possible to go into all aspects of html programming.

I did realise that after I'd posted mine :dunce:

deakin 18-11-2010 18:16

Re: HTML help
 
hello again folks,

Thanks to everyone for all the help but i'm still stuck i have managed to get the links on different lines but now only the first link will work. Where have i went wrong this time ? Could it be that it's because i've uploaded exe files as a test. as the first link is a video the others are the exe files.
----------------------
<!doctype html public "-//W3C//dtd html 4.01 Transitional//en"><html>

<html>

<head>
<title>file dump</title>
</head>

<body>

<h4>Filedump</h4>

<p>Please click on the links below to download the files</p>


link: <a href="http://www.name.webspace.virginmedia.com/duet.m4v">duet</a><br/>

link: <a href="http://www.name.webspace.virginmedia.com/orbit.exe">orbit</a><br/>

link: <a href="http://www..webspace.virginmedia.com/spot.exe">spot</a><br/>

<p>

If you have any problems then please feel to contact me at name(at)something.com

</body>

</html>

Kymmy 18-11-2010 18:23

Re: HTML help
 
Everything works fine here..

MovedGoalPosts 18-11-2010 18:25

Re: HTML help
 
Your own firewalls or antivirus may be upset at you trying to get .exe files from a website.

Kymmy 18-11-2010 18:35

Re: HTML help
 
Sorry my mistake, only the first one worked... Doesn't VM have limitations as to EXE/passwordedZIPS and other such files on their webspace ;) So yes you are correct in that the EXE files will fail

deakin 18-11-2010 18:41

Re: HTML help
 
Changed the exe's to flv files and all links are now working!

Huge thanks to everyone that posted.


All times are GMT +1. The time now is 03:01.

Powered by vBulletin® Version 3.8.11
Copyright ©2000 - 2026, vBulletin Solutions Inc.
All Posts and Content are © Cable Forum