tutostudio1

Página simples em C

Aug 2nd, 2019
2,579
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
C 0.37 KB | None | 0 0
  1. #include <stdio.h>
  2.  
  3. int main() {
  4.     printf( "Content-type: text/html\n\n" );
  5.     printf( "<html>\n" );
  6.     printf( "\t<head>\n" );
  7.     printf( "\t\t<meta charset=\"UTF-8\">\n" );
  8.     printf( "\t\t<title>Minha página</title>\n" );
  9.     printf( "\t</head>\n");
  10.     printf("\t<body>\n" );
  11.     printf( "\t\t<h1>Olá mundo!</h1>\n" );
  12.     printf( "\t</body>\n");
  13.     printf("</html>\n" );
  14.     return 0;
  15. }
Advertisement
Add Comment
Please, Sign In to add comment