Jump to content

How To Use Code Tag


Chikwado

Recommended Posts

what's the context? i am not sure what you're asking for. Is this something related to the forums here? Something in a project you are working on?

Link to comment
Share on other sites

No, that was a mistake from the forum engine. I edited the post later to fix it.

 

You are supposed to wraps code between [CODE][/code] tags, but writing the code tag without it actually turning into a code box is tricky and doing it wrong can result in the forum software turning it into something different.

Link to comment
Share on other sites

My question here sound silly but I am so sure of what I am trying to do. For Example: hit this link http://magazine.boards.net/thread/4/chiquaz. Click the post to see how this html was nested very nice, I was the one wrote that code, I used "[ul]" and "[li]" and it diplay acording to the way I want to see it. Now which tag could arrange code like the one in that link?. I had always use "<code> tag" with square bracket but it return something I don't understand, Some time it reject my post.

Edited by Chikwado
Link to comment
Share on other sites

I'm not sure how you're trying, but on this forum, wrapping something in [code] tags will make it appear like this:

<!DOCTYPE html><html>    <head>        <title></title>    </head>    <body>    </body></html>

The post editor has a little button that looks like <> that will also wrap things in a code block.

Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...