add html code to web page, how to add html code to web page, tips, guide add html code to web page
(Website Helper) add html code Number of Visitors: Site Map

how to add html code to web page



Website Design
Website Promotion
Graphic Design
Programming
Free Software
Computer Tips
Discount Stores
This site provides users with the information about add html code to web page, how to add html code to web page, tips, guide, and more.

If you think that this site is helpful, please recommend your friends to visit our site.



If you want to write a tutorial on html coding, it is important to know how to properly add html code to your web page. There are three common ways to add html code to web page. The first is to use some special html code, the second is to use html Textarea, and the third is use a space. In the following, we are going to deal with them one after another.

1. Use special html code

Let's use html table code for example:

If we do not use some special html code, what you will see is the html table, not the code for html table as follows:

test test1




But if we use some special html code, "&lt;" for "<" and "&gt;" for ">", you will then see the exactly the code for web page. The following is an example:

This is what you add:

&lt;TABLE BORDER="0" CELLPADDING="4" ALIGN="left" WIDTH="50%"&gt;
&lt;TR&gt;
&lt;TD BGCOLOR=red WIDTH="10%"&gt;test</TD&gt;
&lt;TD BGCOLOR=green&gt;test1</TD&gt;
&lt;/TR&gt;
&lt;/TABLE&gt;
And this is what you see:

<TABLE BORDER="0" CELLPADDING="4" ALIGN="left" WIDTH="50%">
<TR>
<TD BGCOLOR=red WIDTH="10%">test</TD>
<TD BGCOLOR=green>test1</TD>
</TR>
</TABLE>
The above code works, but a bit complicated.

2. Use html Textarea

This the easy way of adding html code to web page. What you need to do is just add the above html table code betweet html Textarea tag. The following is an example:

<textarea cols="60" rows="7">

<TABLE BORDER="0" CELLPADDING="4" ALIGN="left" WIDTH="50%">
<TR>
<TD BGCOLOR=red WIDTH="10%">test</TD>
<TD BGCOLOR=gray>test1</TD>
</TR>
</TABLE>

</textarea>

Now let's see the above code in action in the following:

3. Use a space

Just add a space after "<" and before ">". Let's look at an example in the following:

< TABLE BORDER="0" CELLPADDING="4" ALIGN="left" WIDTH="50%" >
< TR>
< TD BGCOLOR=red WIDTH="10%" >test< /TD>
< TD BGCOLOR=gray>test1< /TD>
< /TR>
< /TABLE>

(Website Helper) add html code (c) EduSoftMax - www.edusoftmax.com