Webpages and logic