Mercurial Hosting > luan
comparison website/src/examples/hi2.html.luan @ 1931:28cd9b3abdb3
add lang
| author | Franklin Schmidt <fschmidt@gmail.com> |
|---|---|
| date | Fri, 02 May 2025 10:24:38 -0600 |
| parents | 4c2972f4d862 |
| children |
comparison
equal
deleted
inserted
replaced
| 1930:2b5eccebddd9 | 1931:28cd9b3abdb3 |
|---|---|
| 3 | 3 |
| 4 | 4 |
| 5 local function form() | 5 local function form() |
| 6 %> | 6 %> |
| 7 <!doctype html> | 7 <!doctype html> |
| 8 <html> | 8 <html lang="en"> |
| 9 <body> | 9 <body> |
| 10 <h1>Hello</h1> | 10 <h1>Hello</h1> |
| 11 <form> | 11 <form> |
| 12 What is your name? | 12 What is your name? |
| 13 <input name="name"> | 13 <input name="name"> |
| 19 end | 19 end |
| 20 | 20 |
| 21 local function hello(name) | 21 local function hello(name) |
| 22 %> | 22 %> |
| 23 <!doctype html> | 23 <!doctype html> |
| 24 <html> | 24 <html lang="en"> |
| 25 <body> | 25 <body> |
| 26 <h1>Hello</h1> | 26 <h1>Hello</h1> |
| 27 <p>Hi <%= name %>!</p> | 27 <p>Hi <%= name %>!</p> |
| 28 </body> | 28 </body> |
| 29 </html> | 29 </html> |
