summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--blog.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/blog.c b/blog.c
index 6d22a10..cdb20fa 100644
--- a/blog.c
+++ b/blog.c
@@ -59,10 +59,10 @@ int main(void)
puts("</head>");
puts("<body>");
printf("<form method=\"POST\" action=\"%s\">\n", getenv("DOCUMENT_URI"));
- puts("Username: <input type=\"text\" name=\"username\"><br>");
- puts("Password: <input type=\"password\" name=\"password\"><br>");
- puts("Title: <input type=\"text\" name=\"title\"><br>");
- puts("<textarea name=\"body\"></textarea><br>");
+ puts("<input type=\"text\" name=\"username\" placeholder=\"username\" size=\"80\"><br>");
+ puts("<input type=\"password\" name=\"password\" placeholder=\"password\" size=\"80\"><br>");
+ puts("<input type=\"text\" name=\"title\" placeholder=\"title\" size=\"80\"><br>");
+ puts("<textarea name=\"body\" cols=\"80\" rows=\"24\"></textarea><br>");
puts("<input type=\"submit\">");
puts("</form>");