Forum Code tag

Next
 From:  BurrMan
10721.1 
Hi Michael,
I searched with no luck.

I know I already asked. Can you remind me the proper way to enter a
code: Looks like just adding the beginning tag and applying creates a "pre class" block
code tag in the forum?

Had a hard time with the "Script reference" post I just made Here:

http://moi3d.com/forum/index.php?webtag=MOI&msg=10720.5
  Reply Reply More Options
Post Options
Reply as PM Reply as PM
Print Print
Mark as unread Mark as unread
Relationship Relationship
IP Logged

Previous
Next
 From:  Michael Gibson
10721.2 In reply to 10721.1 
Hi Burr, you put it in a <code></code> block like this:

<code>Code goes here</code>

- Michael
  Reply Reply More Options
Post Options
Reply as PM Reply as PM
Print Print
Mark as unread Mark as unread
Relationship Relationship
IP Logged

Previous
Next
 From:  BurrMan
10721.3 In reply to 10721.2 
thanks again!
  Reply Reply More Options
Post Options
Reply as PM Reply as PM
Print Print
Mark as unread Mark as unread
Relationship Relationship
IP Logged

Previous
Next
 From:  bemfarmer
10721.4 
I also keep forgetting the code tags.

As far as HTML comments, have read the following:
"In HTML, a comment is text enclosed within < !╌ ╌> tags. This syntax tells the browser that they are comments and should not be rendered on the front end."

< !--place comment here-->

Would these type of HTM(L) comments be OK?

- Brian
  Reply Reply More Options
Post Options
Reply as PM Reply as PM
Print Print
Mark as unread Mark as unread
Relationship Relationship
IP Logged

Previous
Next
 From:  Michael Gibson
10721.5 In reply to 10721.4 
Hi Brian,

re: <!-- --> comments - those won't do anything here in the forum. They will get escaped so the < and> will be character entities instead of HTML code.

If you did manage to make a comment you wouldn't really want that because the comments are just skipped by the web browser so whatever was contained inside of them would not be shown here on the forum. That's what the comments are for, you can put notes in them that are not part of the displayed content.

So I guess that's a long way of saying, no those comments won't do anything here...

- Michael
  Reply Reply More Options
Post Options
Reply as PM Reply as PM
Print Print
Mark as unread Mark as unread
Relationship Relationship
IP Logged

Previous
Next
 From:  BurrMan
10721.6 In reply to 10721.4 
Html tags...

Lol. Yeah, i was in some other forums and keep trying to use [CODE].... and i can't remember anymore...

Anyway. Maybe 3 years from now i can do a successful forum search for forum+code+tag and find this!!!

Otherwise, i will ask Michael AGAIN, how to put a code tag... :(
  Reply Reply More Options
Post Options
Reply as PM Reply as PM
Print Print
Mark as unread Mark as unread
Relationship Relationship
IP Logged

Previous
 From:  Michael Gibson
10721.7 In reply to 10721.6 
No worries Burr, questions that are easy for me to answer are my favorite kind! :)

- Michael
  Reply Reply More Options
Post Options
Reply as PM Reply as PM
Print Print
Mark as unread Mark as unread
Relationship Relationship
IP Logged
 

Reply to All Reply to All