Index

HTML

text

ordered list
<ol><li>[value]</li></ol>
unordered list
<ul><li>[value]</li></ul>

forms

html form
<form action="/[path]" method="POST">
input field
<input type="text" name="name" value="Johnny" />
turn off auto complete
<input type="text" autocomplete="off" />
submit button
<input type="submit" value="go" />
checked radio button
<input type="radio" name="[key]" value="[value]" checked />[label]<br>
unchecked radio button
<input type="radio" name="[key]" value="[value]" />[label]<br>
textarea
<textarea rows="4" cols="50" />

infra

include css file (in <head>)
<link rel="stylesheet" type="text/css" href="mystyle.css">
inline css
<style>
h1 {color:red;}
</style>
include script file
<script type="text/javascript" src="/jquery.js"></script>
inline javascript
<script type="text/javascript">alert('foo');</script>
specifying favicon location
<head><link rel="icon" href="/web/static/favicon.ico"></head>