navigation
a webmaster learning community
     Home    Register     Search      Help      Login    
Sponsors

Shopping Cart Software
Ecommerce software integrated into Frontpage, Dreamweaver and Golive templates. No monthly fees and available in ASP and PHP versions.

Website Templates
We also have a wide selection of Dreamweaver, Expression Web and Frontpage templates as well as webmaster tools and CSS layouts.

Frontpage website templates
Creative Website Templates for FrontPage, Dreamweaver, Flash, SwishMax

Search Forums
 

Advanced search
Recent Posts

 Todays Posts
 Most Active posts
 Posts since last visit
 My Recent Posts
 Mark posts read

Microsoft MVP

 

html codes

 
View related threads: (in this forum | in all forums)

Logged in as: Guest
Users viewing this topic: none
Printable Version 

All Forums >> Community >> Computer Software and Hardware issues >> html codes
Page: [1]
 
lilactime68

 

Posts: 4
Joined: 3/4/2006
Status: offline

 
html codes - 3/7/2006 23:25:18   
Can anyone recommend a good tutorial for how to post html codes on a web page. To enable people to copy and paste codes for banners please?
Kitka

 

Posts: 2515
Joined: 1/31/2002
From: Australia
Status: offline

 
RE: html codes - 3/8/2006 1:18:30   
I don't think you need a tutorial.

Normal method is to place the code in a text area field of a form.

Like this:

<form>
<p><textarea rows="3" name="code" cols="30"><p>Your code here</p></textarea></p>
</form>


I think the code remains unaffected in most browsers.

_____________________________

Kitka
**It is impossible to make anything foolproof because fools are so ingenious.**


(in reply to lilactime68)
d a v e

 

Posts: 4086
Joined: 7/24/2002
From: England (but live in Finland now)
Status: offline

 
RE: html codes - 3/8/2006 9:13:02   
or use the <code> tag?!
http://www.w3.org/TR/html401/struct/text.html#edef-CODE

_____________________________

David Prescott
Gekko web design

(in reply to Kitka)
lilactime68

 

Posts: 4
Joined: 3/4/2006
Status: offline

 
RE: html codes - 3/8/2006 12:58:13   
Thank you very much for your help Kitka and Dave

(in reply to d a v e)
Kitka

 

Posts: 2515
Joined: 1/31/2002
From: Australia
Status: offline

 
RE: html codes - 3/8/2006 18:50:34   
quote:

or use the <code> tag?!


The drawback of using the <code> tag, is that you have to translate the special characters so they will show on the page. e.g.

&_lt;p&_gt;this is a paragraph&_lt;/p&_gt;


NB: ( I had to add the "_" so it would show here!)

Whereas, if you use a form text area, the symbols appear normally as typed.

_____________________________

Kitka
**It is impossible to make anything foolproof because fools are so ingenious.**


(in reply to d a v e)
d a v e

 

Posts: 4086
Joined: 7/24/2002
From: England (but live in Finland now)
Status: offline

 
RE: html codes - 3/9/2006 9:00:53   
but semantically it should be <code>, and seeing as how you're/we're into validation and doctypes and well formed code i thought that you would have preferred the use of <code>
;)

_____________________________

David Prescott
Gekko web design

(in reply to Kitka)
Kitka

 

Posts: 2515
Joined: 1/31/2002
From: Australia
Status: offline

 
RE: html codes - 3/9/2006 17:58:42   
Erm - never having used the method myself, I didn't realise it doesn't validate. Plus, I was trying to suggest the easiest method rather than the most correct.

For people using Notepad-type editing, using the form method could save significant time. But using FP (as I do) you only need to paste code into Normal (Design) view and FP translates the characters automatically.

So for me, using <code> tags would be perfect. :)

_____________________________

Kitka
**It is impossible to make anything foolproof because fools are so ingenious.**


(in reply to d a v e)
yb2

 

Posts: 653
Joined: 1/30/2006
Status: offline

 
RE: html codes - 3/9/2006 19:18:53   
quote:

you only need to paste code into Normal (Design) view and FP translates the characters automatically.


that is the best tip I've heard in AGES!

Thankyou for that, you've saved me so much future bother.

(in reply to Kitka)
Kitka

 

Posts: 2515
Joined: 1/31/2002
From: Australia
Status: offline

 
RE: html codes - 3/9/2006 19:54:42   
quote:

Thankyou for that, you've saved me so much future bother.


You are very welcome! :)

It is amazing what helpful hints you can pick up while hanging around this forum - and have some fun along the way too. :)

_____________________________

Kitka
**It is impossible to make anything foolproof because fools are so ingenious.**


(in reply to yb2)
Page:   [1]

All Forums >> Community >> Computer Software and Hardware issues >> html codes
Page: [1]
Jump to: 1





New Messages No New Messages
Hot Topic w/ New Messages Hot Topic w/o New Messages
Locked w/ New Messages Locked w/o New Messages
 Post New Thread
 Reply to Message
 Post New Poll
 Submit Vote
 Delete My Own Post
 Delete My Own Thread
 Rate Posts