Forum Index
SUBSIM Forum Search

The Web's #1 BBS for all submarine and naval simulations!
[ SUBSIM Review ] [ SUBSIM STORE ]
Current Forum | Archives 2002-2003 |

Can someone with a webpage help me?
Goto page Previous  1, 2
 
This forum is locked: you cannot post, reply to, or edit topics.   This topic is locked: you cannot edit posts or make replies.     Forum Index -> General Topics
View previous topic :: View next topic  
Author Message
Brewster Pilot



Joined: 25 Feb 2006
Posts: 604
Location: Helsinki, Finland

PostPosted: Wed Mar 22, 2006 2:42 pm    Post subject: Reply with quote

Gizzmoe wrote:
ChokerSandwich wrote:
The imageshack html code i just posted. Just a screenie of what it looks like would be nice. Cool


Why don´t you check it yourself? Paste the HTML code from your first post into Notepad, replace the first part from <a href=... to </a> with the new code, save it as test.html, then open it with your browser.


Didn't know I could do that, thanks!
Back to top
View user's profile Send private message Send e-mail
Brewster Pilot



Joined: 25 Feb 2006
Posts: 604
Location: Helsinki, Finland

PostPosted: Wed Mar 22, 2006 2:46 pm    Post subject: Reply with quote

It looks like this and the image is not clickable. What did I do wrong?

Back to top
View user's profile Send private message Send e-mail
Gizzmoe



Joined: 22 Mar 2005
Posts: 3011
Location: Düsseldorf, Germany

PostPosted: Wed Mar 22, 2006 2:50 pm    Post subject: Reply with quote

ChokerSandwich wrote:
It looks like this and the image is not clickable. What did I do wrong?


Wrong copy/paste I would say... Try again! Smile
Back to top
View user's profile Send private message Send e-mail AIM Address Yahoo Messenger
Jesper



Joined: 14 Sep 2002
Posts: 2063
Location: Denmark (GMT+01.00)

PostPosted: Wed Mar 22, 2006 3:22 pm    Post subject: Reply with quote

Each document in HTML language must have a !DOCTYPE declaration and it must be in the top.
Code:
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">


There must be a <head></head> section that contains:
Code:
<head>
<title>Some title of your page</title>
</head>


There should only be one set of <body></body> and inside that is where you place all your html code

All documents must end with </html>

All <img> tags must have the attribute alt=""
Here is an example of a valid webpage:
Code:
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
<head>
 <title>Some title of your page</title>
<style type="text/css">
.img{width:200px;height:150px;border-style:none}
</style>
</head>

<body>
<h1>Click on the image to open a high-resolution version</h1>
<a href="http://img145.imageshack.us/img145/7782/grab00017rh7co.jpg"><img src="http://img145.imageshack.us/img145/3951/grab00017rh8od.jpg" alt="Some Alt. Text" /><br />Click on the Image to Enlarge it</a>
</body>
</html>


Learn HTML here


Last edited by Jesper on Wed Mar 22, 2006 3:26 pm; edited 2 times in total
Back to top
View user's profile Send private message Visit poster's website MSN Messenger
Brewster Pilot



Joined: 25 Feb 2006
Posts: 604
Location: Helsinki, Finland

PostPosted: Wed Mar 22, 2006 3:23 pm    Post subject: Reply with quote

Tack Jesper!
Back to top
View user's profile Send private message Send e-mail
Jesper



Joined: 14 Sep 2002
Posts: 2063
Location: Denmark (GMT+01.00)

PostPosted: Wed Mar 22, 2006 3:27 pm    Post subject: Reply with quote

Ingen årsag (Most Welcome) Smile
Back to top
View user's profile Send private message Visit poster's website MSN Messenger
Display posts from previous:   
This forum is locked: you cannot post, reply to, or edit topics.   This topic is locked: you cannot edit posts or make replies.     Forum Index -> General Topics All times are GMT - 5 Hours
Goto page Previous  1, 2
Page 2 of 2

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum


Powered by phpBB © 2001, 2005 phpBB Group