Hello Coders!
It has brought to my attention that some members are puzzled on how to add code into their thread. Adding code to your thread using the proper channels helps make your code easier to understand, and helps others find solutions to problems quicker. In this thread, I'll give you a step by step guide with a gif on how to add code to your thread.
First, understand the different options to post your code. On CodeForum, there are two ways of displaying your code; Inserting multiple lines of code and inserting single-line snippets of code. Examples are shown below:
Example:
Single line code:
It has brought to my attention that some members are puzzled on how to add code into their thread. Adding code to your thread using the proper channels helps make your code easier to understand, and helps others find solutions to problems quicker. In this thread, I'll give you a step by step guide with a gif on how to add code to your thread.
First, understand the different options to post your code. On CodeForum, there are two ways of displaying your code; Inserting multiple lines of code and inserting single-line snippets of code. Examples are shown below:
Example:
Single Line Code:
<p>Welcome to Hello World!</p>
Multiple Line Code:
Code:
<!DOCTYPE html>
<html>
<head>
<title>Hello World!</title>
</head>
<body style="background-color: purple;">
<h1 style="color: red,font-size: 16px;">test</h1>
<p>Welcome to Hello World!</p>
<a href="https://codeforum.org/">CodeForum.ORG</a>
<h2 style="color: pink;"> Table </h2>
<table>
<tr>
<td>Favourite food</td>
<td>Favourite book</td>
</tr>
<tr>
<td>Apple</td>
<td>HTML&CSS</td>
</tr>
</table>
<h3 style="color:eek:range;">Ordered List</h3>
<ol>
<li>Ordered list.</li>
<li>Ordered list.</li>
<li>Ordered list.</li>
<li>Ordered list.</li>
</ol>
<h4 style="color: blue;"> Unordered list</h4>
<ul>
<li>Ordered list.</li>
<li>Ordered list.</li>
<li>Ordered list.</li>
<li>Ordered list.</li>
<li>Ordered list.</li>
</ul>
</body>
</html>
Single line code:
- On the editor toolbar,
Click the three-round dot icon. - Select >_ Inline Code.
- Next, a BBCode ICODE will appear.
- Place your single line code between the tags.
Last edited: