Dai un occhio al codice di un sito che ne è munito ed impara come sono fatti.