Tim Berners-Lee invented the World Wide Web in 1989 by creating HTML, URIs, and HTTP. The first web page was published in 1991. Websites can be static or dynamic, and are classified into categories like government, social media, forums, magazines, blogs, portfolios, businesses, and ecommerce. Common technologies used to build websites include HTML, CSS, JavaScript, PHP, Python, Ruby, Java, and content management systems.