How to create an HTML page in C language?

0 votes
asked by
edited by

How to create an HTML page in C language?

1 Answer

0 votes
answered by (264k points)

In C Language, the first thing to do is to send the following command which is embedded into the first line Content-type: text/html\n\n to stdout, then you can write any HTML code you might have. Another possibility is to use CGI, but that involves in having a CGI enabled hosting account.

Here is a good tutorial to start with: http://www.cs.tut.fi/~jkorpela/forms/cgic.html

It covers all the basics regarding HTML coding and website publishing.

Your answer

Your name to display (optional):
Privacy: Your email address will only be used for sending these notifications.
Anti-spam verification:
To avoid this verification in future, please log in or register
...