Z
Zach
I am trying to have fprintf() print the string:
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.1//EN"
"http://www.w3.org/TR/xhtml11/DTD/xhtml11.dtd">
I tried:
fprintf(fpin,"<!DOCTYPE html PUBLIC "-"//W3C//DTD XHTML 1.1//EN\n");
fprintf(fpin,"
http://www.w3.org/TR/xhtml11/DTD/xhtml11.dtd>\n");
But this causes the following string to be displayed in my web
browser:
http://www.w3.org/TR/xhtml11/DTD/xhtml11.dtd>
I want it to be rendered not displayed. How can I fix the error in my
fprintf() statements?
Regards,
Zach
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.1//EN"
"http://www.w3.org/TR/xhtml11/DTD/xhtml11.dtd">
I tried:
fprintf(fpin,"<!DOCTYPE html PUBLIC "-"//W3C//DTD XHTML 1.1//EN\n");
fprintf(fpin,"
http://www.w3.org/TR/xhtml11/DTD/xhtml11.dtd>\n");
But this causes the following string to be displayed in my web
browser:
http://www.w3.org/TR/xhtml11/DTD/xhtml11.dtd>
I want it to be rendered not displayed. How can I fix the error in my
fprintf() statements?
Regards,
Zach