---
title: "Discussion on \"Web Application Programming in PicoLisp: Creating HTML Forms, Part 1\" | Hashnode"
description: "Discussion on \"Web Application Programming in PicoLisp: Creating HTML Forms, Part 1\". Today we will show how to create a simple HTML form in PicoLisp.\n\nUser Interaction in HTML\nIf a website purely works in HTML, the user interface can only be realized using <form> and <input> elements. The <form> tag accepts several attributes, of whi..."
url: "https://hashnode.com/posts/web-application-programming-in-picolisp-creating-html-forms-part-1/615d685738ba5c7155d58ee7"
---

[Feed](https://hashnode.com/feed) /

Discussion

# [Web Application Programming in PicoLisp: Creating HTML Forms, Part 1](https://picolisp-explored.com/web-application-programming-in-picolisp-creating-html-forms-part-1?utm_source=hashnode&utm_medium=feed)

Today we will show how to create a simple HTML form in PicoLisp. User Interaction in HTML If a website purely works in HTML, the user interface can only be realized using <form> and <input> elements. The <form> tag accepts several attributes, of whi...

Oct 6, 2021 · 6 min read · picolisp-explored.com  
Updated Oct 7, 2021  
Read the article

-   [#web-development](https://hashnode.com/tag/web-development)
-   [#forms](https://hashnode.com/tag/forms)
-   [#functional-programming](https://hashnode.com/tag/functional-programming)
-   [#html](https://hashnode.com/tag/html)

## Written by

[Mia Temma](https://hashnode.com/@miatemma)

@miatemma · Berlin, Germany

  
[View profile](https://hashnode.com/@miatemma)

## Responses 1

Markdown supported · ⌘↵ to post

[Olaf](https://hashnode.com/@olaf)

[Oct 23, 2021](https://hashnode.com/posts/web-application-programming-in-picolisp-creating-html-forms-part-1/615d685738ba5c7155d58ee7/comment/61741d2c0f452c1cd94fa23d)

I never realized, that picolisp <post> has all batteries included to create a minimalistic form by itself.

This is why I can't keep my hands off picolisp: put following lines in a file form-app.l on machine with installed picolisp

```
(html 0 "Simple Post" *Css NIL
   (<post> NIL *Url
      (<label> NIL "set *Snippet to: ")
      (<field> 30 '*Snippet)
      (<submit> "Send")
      ) # end <post>

   # do sth with *Snippet
   (ht:Prin "display *Snippet: " *Snippet)
   # ...
) # end <html>
```

then run it from where the file exists with

```
pil @lib/http.l @lib/xhtml.l @lib/form.l --server 8079 form-app.l +
```

and one has immediately a running interactive page on `[localhost](http://localhost:8079/)`

Great! Thanks for your Blog.
