Thursday, September 17, 2009

C code when blogging - Tips for html

when writing a blog in which you want to add C code; for example:
a simple "for" statement, the html code will not show anything after the "<" sign. That is because the "<" sign denotes special character in html. Therefore when you want to write a C code in html, you must substitute the < sign with "&" followed by "l" followed by "t" followed by the semi-colon.

you can find more information about which symbols you can and can't use in html by going to W3SCHOOLS

Hope This Helps.. HAPPY CODING

No comments:

Post a Comment