Hello, Welcome The life cycle of an HTML request can be divided into following stages: Request initiation: The request is…