How to redirect page after successful log in in HTML?

what form codes should i type?
what PHP codes should i type?

newbie ir..